Skip to content

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

Update LocalForm.tsx (#1835)

Stanimir423fc08ea11e
diff --git a/app/components/dialogs/LocalForm.tsx b/app/components/dialogs/LocalForm.tsx
index 7015878b8..48567f1fa 100644
--- a/app/components/dialogs/LocalForm.tsx
+++ b/app/components/dialogs/LocalForm.tsx
@@ -45,7 +45,7 @@ function LocalForm(props: Props) {
const openDirectory = () => {
PlatformIO.selectDirectoryDialog()
.then(selectedPaths => {
- const selectedPath = selectedPaths[0];
+ const selectedPath = decodeURI(selectedPaths[0]);
setPath(selectedPath);
if (name.length < 1 && selectedPath.length > 0) {
const dirName = extractDirectoryName(