Lines 63-69
const { removeMessages } = mainStore;
Link Here
|
63 |
router.beforeEach((to, from) => { |
63 |
router.beforeEach((to, from) => { |
64 |
navigationStore.$patch({ current: to.matched, params: to.params || {} }); |
64 |
navigationStore.$patch({ current: to.matched, params: to.params || {} }); |
65 |
removeMessages(); // This will actually flag the messages as displayed already |
65 |
removeMessages(); // This will actually flag the messages as displayed already |
66 |
if (to.external || to.meta.self.parent.external) { |
|
|
67 |
window.location.href = to.path; |
68 |
} |
69 |
}); |
66 |
}); |