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