diff --git a/dashboard/src/views/RestoreView.vue b/dashboard/src/views/RestoreView.vue index 110266098..8e097dcd5 100644 --- a/dashboard/src/views/RestoreView.vue +++ b/dashboard/src/views/RestoreView.vue @@ -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; }