Skip to content

Commit

Permalink
Web: Files: fixed upload folder hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
gopienkonikita committed Nov 2, 2021
1 parent 93fae15 commit 5ba3df9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion products/ASC.Files/Client/src/store/UploadDataStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,9 @@ class UploadDataStore {
const toFolder =
currentFile.fileInfo.folderId === this.selectedFolderStore.id
? currentFile.fileInfo.folderId
: toFolderId;
: folderInfo
? toFolderId
: null;

return this.throttleRefreshFiles(toFolder, currentFile, folderInfo);
}
Expand Down

0 comments on commit 5ba3df9

Please sign in to comment.