diff --git a/app/src/router/index.js b/app/src/router/index.js index 774909bb..4b16cd50 100644 --- a/app/src/router/index.js +++ b/app/src/router/index.js @@ -28,6 +28,9 @@ const router = new VueRouter({ }) router.beforeEach((to, from, next) => { + if (store.getters.error) { + store.dispatch('DELETE_ERROR') + } // Allow if connected or route is not protected if (store.getters.connected || to.meta.noAuth) { next()