|
|
|
@ -80,10 +80,6 @@ export default {
|
|
|
|
|
components: {
|
|
|
|
|
Confirm,
|
|
|
|
|
},
|
|
|
|
|
beforeRouteLeave(to, from, next) {
|
|
|
|
|
this.cleanupModal();
|
|
|
|
|
next();
|
|
|
|
|
},
|
|
|
|
|
props: {},
|
|
|
|
|
emits: [ "added" ],
|
|
|
|
|
data() {
|
|
|
|
@ -230,9 +226,6 @@ export default {
|
|
|
|
|
this.notification.name = this.getUniqueDefaultName(to);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
$route(to, from) {
|
|
|
|
|
this.cleanupModal();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
this.modal = new Modal(this.$refs.modal);
|
|
|
|
@ -358,9 +351,6 @@ export default {
|
|
|
|
|
console.warn("Modal hide failed:", e);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
document.body.classList.remove("modal-open");
|
|
|
|
|
document.body.style.paddingRight = "";
|
|
|
|
|
document.body.style.overflow = "";
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|