Lines 59-64
app.mount("#__vendors");
Link Here
|
59 |
|
59 |
|
60 |
const { removeMessages } = mainStore; |
60 |
const { removeMessages } = mainStore; |
61 |
router.beforeEach((to, from) => { |
61 |
router.beforeEach((to, from) => { |
|
|
62 |
if (to.path === "/cgi-bin/koha/acqui/vendors.pl") { |
63 |
router.push({ name: "VendorList" }); |
64 |
} |
62 |
navigationStore.$patch({ current: to.matched, params: to.params || {} }); |
65 |
navigationStore.$patch({ current: to.matched, params: to.params || {} }); |
63 |
removeMessages(); // This will actually flag the messages as displayed already |
66 |
removeMessages(); // This will actually flag the messages as displayed already |
64 |
}); |
67 |
}); |
65 |
- |
|
|