소스 검색

HUE-6597 [assist] Add HDFS go home action to total storage

Johan Ahlen 8 년 전
부모
커밋
e49f856
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      desktop/core/src/desktop/templates/assist.mako

+ 1 - 0
desktop/core/src/desktop/templates/assist.mako

@@ -1189,6 +1189,7 @@ from notebook.conf import get_ordered_interpreters
 
         huePubSub.subscribe('assist.hdfs.go.home', function () {
           loadPath('${ home_dir }');
+          self.apiHelper.setInTotalStorage('assist', 'currentHdfsPath', '${ home_dir }');
         });
 
         huePubSub.subscribe('assist.selectHdfsEntry', function (entry) {