feat: "save changes" button to discard changes dialog
This commit is contained in:
1 parent
571ce6cb0d
commit
84e8632b98
5 files changed
+26
-3
No files matched your search
@@ -157,6 +157,10 @@ onBeforeRouteUpdate((to, from, next) => {
|
||||
event.preventDefault();
|
||||
next();
|
||||
},
|
||||
saveAction: async () => {
|
||||
await save();
|
||||
next();
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user