TagSpaces is an offline, open source, document manager with tagging support
Moving directory not reflected after moving with the dialog
Stanimirbf97c1f56c1d
diff --git a/src/renderer/hooks/DirectoryContentContextProvider.tsx b/src/renderer/hooks/DirectoryContentContextProvider.tsxindex 6f18be233..ecd0b5ea8 100644--- a/src/renderer/hooks/DirectoryContentContextProvider.tsx+++ b/src/renderer/hooks/DirectoryContentContextProvider.tsx@@ -617,7 +617,9 @@ export const DirectoryContentContextProvider = ({}}let index = currentDirectoryEntries.current.findIndex(- (e) => e.path === entry.path,+ (e) =>+ cleanTrailingDirSeparator(e.path) ===+ cleanTrailingDirSeparator(entry.path),);if (index !== -1) {currentDirectoryEntries.current.splice(index, 1);