TagSpaces is an offline, open source, document manager with tagging support
Confirming moving of file which already exists in the target do not delete it the source folder (#2265)
Stanimir5b40a6c21366
diff --git a/src/renderer/components/dialogs/MoveCopyFilesDialog.tsx b/src/renderer/components/dialogs/MoveCopyFilesDialog.tsxindex c86c640a9..c22d717c6 100644--- a/src/renderer/components/dialogs/MoveCopyFilesDialog.tsx+++ b/src/renderer/components/dialogs/MoveCopyFilesDialog.tsx@@ -142,6 +142,8 @@ function MoveCopyFilesDialog(props: Props) {targetPath,currentLocation.uuid,onUploadProgress,+ true,+ true,);setTargetPath('');}diff --git a/src/renderer/hooks/IOActionsContextProvider.tsx b/src/renderer/hooks/IOActionsContextProvider.tsxindex 4a6a4bf07..d71004e4a 100644--- a/src/renderer/hooks/IOActionsContextProvider.tsx+++ b/src/renderer/hooks/IOActionsContextProvider.tsx@@ -96,6 +96,7 @@ type IOActionsContextData = {locationID: string,onProgress?,reflect?: boolean,+ force?: boolean,) => Promise<boolean>;copyDirs: (dirPaths: Array<any>,@@ -587,6 +588,7 @@ export const IOActionsContextProvider = ({locationID: string,onProgress = undefined,reflect = true,+ force = false,): Promise<boolean> {const location = findLocation(locationID);const moveJobs = paths.map((path) => [@@ -600,6 +602,7 @@ export const IOActionsContextProvider = ({location.uuid,paths.length > 10 ? undefined : onProgress,false,+ force,).then((moveArray) => {if (moveArray !== undefined) {