From 8227ce11580dba7cda67319830dd1378cde4792d Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 3 Dec 2025 10:27:20 +0100 Subject: [PATCH] restore: fix typo. error -> formError --- dashboard/src/views/RestoreView.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; }