Web: Files: fixed public-room error after added new file

This commit is contained in:
Nikita Gopienko 2023-07-25 17:27:11 +03:00
parent 234c8b0178
commit 2e42741e4b

View File

@ -314,7 +314,9 @@ class FilesStore {
this.setFiles(newFiles);
});
this.debouncefetchTreeFolders();
if (!this.publicRoomStore.isPublicRoom) {
this.debouncefetchTreeFolders();
}
};
debouncefetchTreeFolders = debounce(() => {