소스 검색

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 => {
       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', () => {