import/restore: add any prefix from the config into the remotePath

This commit is contained in:
Girish Ramakrishnan
2025-11-26 10:43:00 +01:00
parent bbdfbe1ab7
commit 3702efdcb3
2 changed files with 2 additions and 2 deletions

View File

@@ -274,7 +274,7 @@ function onBackupConfigChanged(event) {
}
provider.value = data.provider;
remotePath.value = data.remotePath;
remotePath.value = data.config.prefix ? `${data.config.prefix}/${data.remotePath}` : data.remotePath;
providerConfig.value = data.config;
format.value = data.format;
encrypted.value = !!data.encrypted;