Fix backup edit dialog submission

This commit is contained in:
Johannes Zellner
2025-08-05 16:12:43 +02:00
parent ae747aa426
commit c1ec42a812
+1 -1
View File
@@ -286,7 +286,7 @@ function onEdit(backup) {
async function onEditSubmit() {
editBackupBusy.value = true;
const [error] = await backupsModel.edit(editBackupId.value, editBackupLabel.value, editBackupPersist.value ? -1 : 0);
const [error] = await backupsModel.update(editBackupId.value, editBackupLabel.value, editBackupPersist.value ? -1 : 0);
if (error) {
return console.error(error);
}