Ver Fonte

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

ayush.goyal há 5 anos atrás
pai
commit
f72022a938

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

@@ -210,7 +210,7 @@ class AssistStoragePanel {
 
     huePubSub.subscribe('assist.selectStorageEntry', 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', () => {