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 }}