浏览代码

HUE-9455 [filebrowser] part-2 fixed the bug of manual refresh button

ayush.goyal 5 年之前
父节点
当前提交
f72022a938
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/js/ko/components/assist/ko.assistStoragePanel.js

+ 1 - 1
desktop/core/src/desktop/js/ko/components/assist/ko.assistStoragePanel.js

@@ -210,7 +210,7 @@ class AssistStoragePanel {
 
 
     huePubSub.subscribe('assist.selectStorageEntry', entry => {
     huePubSub.subscribe('assist.selectStorageEntry', entry => {
       this.selectedStorageEntry(entry);
       this.selectedStorageEntry(entry);
-      apiHelper.setInTotalStorage('assist', 'currentStoragePath_' + entry.type, entry.path);
+      apiHelper.setInTotalStorage('assist', 'currentStoragePath_' + entry.source.type, entry.path);
     });
     });
 
 
     huePubSub.subscribe('assist.storage.refresh', () => {
     huePubSub.subscribe('assist.storage.refresh', () => {