Skip to content

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

fix: correct folder name in the deletion dialog

Ilian Sapundshiev23c87a96a375
diff --git a/app/components/EntryContainer.tsx b/app/components/EntryContainer.tsx
index 83744df16..a806c9428 100644
--- a/app/components/EntryContainer.tsx
+++ b/app/components/EntryContainer.tsx
@@ -1029,7 +1029,7 @@ const EntryContainer = (props: Props) => {
: i18n.t('core:deleteDirectoryContentConfirm', {
dirPath: openedFile.path
? extractDirectoryName(
- openedFile.path,
+ decodeURIComponent(openedFile.path),
PlatformIO.getDirSeparator()
)
: ''