From 18b954199102ff7e6903fe202ad1e9c1a7ae62f1 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Fri, 8 Feb 2019 17:08:07 +0300 Subject: [PATCH] Remove toast messages on route change --- src/App.vue | 1 + src/views/tabview/TabViewDemo.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 633046367..c3f29bdb4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -28,6 +28,7 @@ export default { watch: { $route() { this.sidebarActive = false; + this.$toast.removeAllGroups(); } }, methods: { diff --git a/src/views/tabview/TabViewDemo.vue b/src/views/tabview/TabViewDemo.vue index b758ea60f..80291542d 100644 --- a/src/views/tabview/TabViewDemo.vue +++ b/src/views/tabview/TabViewDemo.vue @@ -29,8 +29,8 @@

Programmatic

- - +