feat: "save changes" button to discard changes dialog

This commit is contained in:
Jorge
2025-09-13 08:07:05 +02:00
committed by GitHub
parent 571ce6cb0d
commit 84e8632b98
5 changed files with 26 additions and 3 deletions

View File

@@ -157,6 +157,10 @@ onBeforeRouteUpdate((to, from, next) => {
event.preventDefault();
next();
},
saveAction: async () => {
await save();
next();
},
});
});