diff options
Diffstat (limited to 'src/layouts/AppLayout.vue')
-rw-r--r-- | src/layouts/AppLayout.vue | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/layouts/AppLayout.vue b/src/layouts/AppLayout.vue index 4f2426324..2002269fc 100644 --- a/src/layouts/AppLayout.vue +++ b/src/layouts/AppLayout.vue @@ -54,6 +54,13 @@ export default { }, methods: { refresh() { + // Clear all toast messages + document.querySelectorAll('.toast').forEach((toast) => { + const toastId = toast.id; + if (toastId) { + this.$bvToast.hide(toastId); + } + }); // Changing the component :key value will trigger // a component re-rendering and 'refresh' the view this.routerKey += 1; @@ -63,9 +70,6 @@ export default { </script> <style lang="scss" scoped> -@import '@/assets/styles/bmc/helpers/_index.scss'; -@import '@/assets/styles/bootstrap/_helpers.scss'; - .app-container { display: grid; grid-template-columns: 100%; |