Update NotificationDialog.vue

i hadnt saved this T_T
This commit is contained in:
mohit-nagaraj 2024-10-08 09:31:05 +05:30
parent 56b3cf412b
commit 0d2b380f44
No known key found for this signature in database

View file

@ -80,6 +80,10 @@ export default {
components: { components: {
Confirm, Confirm,
}, },
beforeRouteLeave(to, from, next) {
this.cleanupModal();
next();
},
props: {}, props: {},
emits: [ "added" ], emits: [ "added" ],
data() { data() {
@ -236,10 +240,6 @@ export default {
beforeUnmount() { beforeUnmount() {
this.cleanupModal(); this.cleanupModal();
}, },
beforeRouteLeave(to, from, next) {
this.cleanupModal();
next();
},
methods: { methods: {
/** /**