Browse Source

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

Johan Ahlen 8 năm trước cách đây
mục cha
commit
e49f856
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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) {