fix: refs #8372 update save method to default prevent option to false
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

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');