0
0
Fork 0

fix: refs #8372 update save method to default prevent option to false

This commit is contained in:
Jorge Penadés 2025-02-07 16:48:21 +01:00
parent c2facd5f99
commit e1605e0610
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ export default {
return;
}
evt.preventDefault();
that.onSubmit(false);
that.onSubmit();
}
});
},

View File

@ -207,7 +207,7 @@ async function fetch() {
}
}
async function save(prevent = true) {
async function save(prevent = false) {
if (prevent) return;
if ($props.observeFormChanges && !hasChanges.value)
return notify('globals.noChanges', 'negative');