Skip to content

Commit

Permalink
Web: Files: fixed upload
Browse files Browse the repository at this point in the history
  • Loading branch information
gopienkonikita committed Nov 9, 2021
1 parent 6de5f81 commit 0b13f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion products/ASC.Files/Client/src/store/UploadDataStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ class UploadDataStore {
if (folderId) folderInfo = await getFolderInfo(folderId);

const newPath = [];
if (folderInfo) {
if (folderInfo || path[path.length - 1] === this.selectedFolderStore.id) {
let i = 0;
while (path[i] && path[i] !== folderId) {
newPath.push(path[i]);
Expand Down

0 comments on commit 0b13f99

Please sign in to comment.