warnings fix :)

pull/5189/head
mohit-nagaraj 3 months ago
parent 72849de1b4
commit 56b3cf412b
No known key found for this signature in database

@ -33,26 +33,26 @@
import { Modal } from "bootstrap";
export default {
beforeRouteLeave(to, from, next) {
this.cleanupModal();
next();
},
props: {},
emits: [ "added" ],
data: () => ({
modal: null,
groupName: null,
}),
mounted() {
this.modal = new Modal(this.$refs.modal);
},
watch: {
$route(to, from) {
this.cleanupModal();
}
},
beforeUnmount() {
this.cleanupModal();
mounted() {
this.modal = new Modal(this.$refs.modal);
},
beforeRouteLeave(to, from, next) {
beforeUnmount() {
this.cleanupModal();
next();
},
methods: {
/**

@ -105,6 +105,10 @@ export default {
components: {
Confirm,
},
beforeRouteLeave(to, from, next) {
this.cleanupModal();
next();
},
props: {},
emits: [ "added" ],
data() {
@ -125,26 +129,17 @@ export default {
}
};
},
mounted() {
this.modal = new Modal(this.$refs.modal);
},
beforeRouteLeave(to, from, next) {
this.cleanupModal();
next();
},
watch: {
$route(to, from) {
this.cleanupModal();
}
},
mounted() {
this.modal = new Modal(this.$refs.modal);
},
beforeUnmount() {
this.cleanupModal();
},
methods: {
/**
* Show dialog to confirm deletion

@ -155,6 +155,10 @@ export default {
Tag,
VueMultiselect,
},
beforeRouteLeave(to, from, next) {
this.cleanupModal();
next();
},
props: {
/**
* Array of tags to be pre-selected
@ -244,21 +248,15 @@ export default {
};
},
},
mounted() {
this.modal = new Modal(this.$refs.modal);
this.getExistingTags();
},
beforeRouteLeave(to, from, next) {
this.cleanupModal();
next();
},
watch: {
$route(to, from) {
this.cleanupModal();
}
},
mounted() {
this.modal = new Modal(this.$refs.modal);
this.getExistingTags();
},
beforeUnmount() {
this.cleanupModal();
},

Loading…
Cancel
Save