From f49f2ecb6c9d6ed2912a554844c891ce86cd5c04 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 14 Jan 2026 09:36:04 +0100 Subject: [PATCH] backups: show error if label is malformed --- dashboard/src/components/SystemBackupList.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dashboard/src/components/SystemBackupList.vue b/dashboard/src/components/SystemBackupList.vue index c2020f2ed..0fe07f040 100644 --- a/dashboard/src/components/SystemBackupList.vue +++ b/dashboard/src/components/SystemBackupList.vue @@ -211,11 +211,12 @@ async function onEditSubmit() { const [error] = await backupsModel.update(editBackupId.value, editBackupLabel.value, editBackupPersist.value ? -1 : 0); if (error) { - return console.error(error); + editBackupBusy.value = false; + editBackupError.value = error.body?.message || JSON.stringify(error); + return; } await refreshBackups(); - editBackupBusy.value = false; editDialog.value.close(); } @@ -251,7 +252,7 @@ defineExpose({ refresh }); :confirm-busy="editBackupBusy" @confirm="onEditSubmit()" > -

{{ editBackupError }}

+
{{ editBackupError }}