Skip to content

TagSpaces is an offline, open source, document manager with tagging support

Fix Move file in e2e (#1780)

Stanimir9660bb3ae7fd
diff --git a/app/reducers/io-actions.ts b/app/reducers/io-actions.ts
index 29a1857b8..d497ad4f2 100644
--- a/app/reducers/io-actions.ts
+++ b/app/reducers/io-actions.ts
@@ -95,8 +95,7 @@ const actions = {
);
const moveMetaJobs = [];
moveJobs.map(job => {
- // dispatch(AppActions.reflectRenameEntry(job[0], job[1]));
- dispatch(LocationIndexActions.reflectRenameEntry(job[0], job[1])); // moved files should be added to the index, if the target dir in index
+ dispatch(AppActions.reflectDeleteEntry(job[0])); // moved files should be added to the index, if the target dir in index
moveMetaJobs.push([
getMetaFileLocationForFile(job[0], PlatformIO.getDirSeparator()),
getMetaFileLocationForFile(job[1], PlatformIO.getDirSeparator())