feat: "save changes" button to discard changes dialog
This commit is contained in:
@@ -157,6 +157,10 @@ onBeforeRouteUpdate((to, from, next) => {
|
||||
event.preventDefault();
|
||||
next();
|
||||
},
|
||||
saveAction: async () => {
|
||||
await save();
|
||||
next();
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user