Pārlūkot izejas kodu

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

Johan Ahlen 8 gadi atpakaļ
vecāks
revīzija
e49f856
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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) {