Skip to content

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

fix Crash by writing folder properties on read-only s3 folder

Stanimir1b827dbf4f7a
diff --git a/src/renderer/hooks/DirectoryContentContextProvider.tsx b/src/renderer/hooks/DirectoryContentContextProvider.tsx
index 9de9c4b7a..d2e334479 100644
--- a/src/renderer/hooks/DirectoryContentContextProvider.tsx
+++ b/src/renderer/hooks/DirectoryContentContextProvider.tsx
@@ -342,6 +342,7 @@ export const DirectoryContentContextProvider = ({
action.source !== 'fsWatcher' &&
action.source !== 'upload' &&
action.source !== 'thumbgen' &&
+ action.entry &&
action.entry.path.indexOf(
currentLocation?.getDirSeparator() + AppConfig.metaFolder,
) === -1