fix: refs #8388 simplify navigation logic in save function
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Jorge Penadés 2025-05-13 14:48:32 +02:00
parent 0a992094cf
commit 07f58bbec0
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ async function save() {
old: originalData.value, old: originalData.value,
}); });
if ($props.reload) await arrayData.fetch({}); if ($props.reload) await arrayData.fetch({});
if ($props.goTo) return push({ path: $props.goTo }); if ($props.goTo) push({ path: $props.goTo });
hasChanges.value = false; hasChanges.value = false;
} finally { } finally {
isLoading.value = false; isLoading.value = false;