TagSpaces is an offline, open source, document manager with tagging support
Opening parent folder from the button in perspective does not work always on windows network drive (#1446)
Stanimir1537602b7b89
diff --git a/app/components/FolderContainer.tsx b/app/components/FolderContainer.tsxindex f70422077..436e985c3 100644--- a/app/components/FolderContainer.tsx+++ b/app/components/FolderContainer.tsx@@ -291,9 +291,10 @@ const FolderContainer = (props: Props) => {normalizedCurrentPath.startsWith(normalizedCurrentLocationPath)) {pathParts.push(- normalizedCurrentPath.substring(- PlatformIO.haveObjectStoreSupport() ? 2 : 1- )+ normalizedCurrentPath+ .substring(PlatformIO.haveObjectStoreSupport() ? 2 : 1)+ .split('/')+ .join(PlatformIO.getDirSeparator()));normalizedCurrentPath = normalizedCurrentPath.substring(0,@@ -483,7 +484,10 @@ const FolderContainer = (props: Props) => {backgroundColor: theme.palette.background.default}}>- {extractShortDirectoryName(pathPart, '/')}+ {extractShortDirectoryName(+ pathPart,+ PlatformIO.getDirSeparator()+ )}<FolderSeparatorIcon /></Button>))}