restore: fix typo. error -> formError

This commit is contained in:
Girish Ramakrishnan
2025-12-03 10:27:20 +01:00
parent 35b80178ed
commit 8227ce1158

View File

@@ -88,15 +88,15 @@ async function onSubmit() {
formError.value = {};
if (fullPath.value.indexOf('/') === -1) {
error.value.generic = 'Backup id must include the directory path';
error.value.remotePath = true;
formError.value.generic = 'Backup id must include the directory path';
formError.value.remotePath = true;
busy.value = false;
return;
}
if (fullPath.value.indexOf('box') === -1) {
error.value.generic = 'Backup id must contain "box"';
error.value.remotePath = true;
formError.value.generic = 'Backup id must contain "box"';
formError.value.remotePath = true;
busy.value = false;
return;
}