Merge pull request #1292 from ONLYOFFICE/bugfix/fix-duplicate

Web:Client:Fix deleting source file after duplication operation.
This commit is contained in:
Vlada Gazizova 2023-03-07 16:59:53 +03:00 committed by GitHub
commit 7c22c9d4fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1512,14 +1512,6 @@ class UploadDataStore {
if (!isCopy || destFolderId === this.selectedFolderStore.id) {
let newFilter;
if (!withPaging) {
removeFiles(fileIds, folderIds);
this.clearActiveOperations(fileIds, folderIds);
setTimeout(() => clearSecondaryProgressData(), TIMEOUT);
this.dialogsStore.setIsFolderActions(false);
return;
}
if (isEmptyLastPageAfterOperation()) {
newFilter = resetFilterPage();
}