Skip to content

Commit

Permalink
Web: Deleted useless code.
Browse files Browse the repository at this point in the history
  • Loading branch information
TatianaLopaeva committed Nov 9, 2021
1 parent 4d5aef2 commit 1d8fa34
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions products/ASC.Files/Client/src/store/UploadDataStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -877,10 +877,6 @@ class UploadDataStore {
setSecondaryProgressBarData,
clearSecondaryProgressData,
} = this.secondaryProgressDataStore;
const { selection, setBufferSelection } = this.filesStore;

(!selection || selection?.length === 0) &&
setBufferSelection(folderIds.length + fileIds.length);

return moveToFolder(
destFolderId,
Expand All @@ -904,8 +900,7 @@ class UploadDataStore {
setTimeout(() => clearPrimaryProgressData(), TIMEOUT);
setTimeout(() => clearSecondaryProgressData(), TIMEOUT);
return Promise.reject(err);
})
.finally(() => setBufferSelection(null));
});
};

itemOperationToFolder = (data) => {
Expand Down

0 comments on commit 1d8fa34

Please sign in to comment.