feat: refs #8387 refs#8387 change request
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Robert Ferrús 2025-01-27 12:27:58 +01:00
parent a5ea7ab104
commit 2cc04da76c
1 changed files with 7 additions and 11 deletions

View File

@ -154,18 +154,14 @@ function filter(value, update, filterOptions) {
} }
async function onSubmit() { async function onSubmit() {
try { if (!hasChanges.value) {
if (!hasChanges.value) { return quasar.notify({
return quasar.notify({ type: 'negative',
type: 'negative', message: t('globals.noChanges'),
message: t('globals.noChanges'), });
});
}
isLoading.value = true;
await saveChanges($props.saveFn ? formData.value : null);
} catch (e) {
throw e;
} }
isLoading.value = true;
await saveChanges($props.saveFn ? formData.value : null);
} }
async function onSubmitAndGo() { async function onSubmitAndGo() {