Skip to content

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

chore: added comment

Ilian Sapundshiev0f8db7369e22
diff --git a/app/components/FolderContainer.tsx b/app/components/FolderContainer.tsx
index 436e985c3..2212b7987 100644
--- a/app/components/FolderContainer.tsx
+++ b/app/components/FolderContainer.tsx
@@ -295,7 +295,7 @@ const FolderContainer = (props: Props) => {
.substring(PlatformIO.haveObjectStoreSupport() ? 2 : 1)
.split('/')
.join(PlatformIO.getDirSeparator())
- );
+ ); // TODO: optimization needed
normalizedCurrentPath = normalizedCurrentPath.substring(
0,
normalizedCurrentPath.lastIndexOf('/')