浏览代码

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) {