diff --git a/frontend/src/api/files.js b/frontend/src/api/files.js index efbb92ae..4ab3183c 100644 --- a/frontend/src/api/files.js +++ b/frontend/src/api/files.js @@ -180,7 +180,7 @@ export async function archive(url, name, format, ...files) { } export async function unarchive(path, name, override) { - const to = encodeURIComponent(removePrefix(name)); + const to = removePrefix(name); const action = `unarchive`; const url = `${path}?action=${action}&destination=${to}&override=${override}`; return resourceAction(url, "PATCH"); diff --git a/frontend/src/components/prompts/Unarchive.vue b/frontend/src/components/prompts/Unarchive.vue index 981321e0..f168c88a 100644 --- a/frontend/src/components/prompts/Unarchive.vue +++ b/frontend/src/components/prompts/Unarchive.vue @@ -5,14 +5,21 @@
-

{{ $t("prompts.unarchiveMessage") }}

- +
+

{{ $t("prompts.unarchiveFolderNameMessage") }}

+ +
+ +

{{ $t("prompts.unarchiveDestinationLocationMessage") }}

+ +

{{ $t("prompts.unarchiveOverwriteExisting") }} @@ -43,14 +50,17 @@