Bug 38010: (QA follow-up) Redirect Home component to List
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
8f93413671
commit
bbbf71f971
|
|
@ -59,6 +59,9 @@ app.mount("#__vendors");
|
|||
|
||||
const { removeMessages } = mainStore;
|
||||
router.beforeEach((to, from) => {
|
||||
if (to.path === "/cgi-bin/koha/acqui/vendors.pl") {
|
||||
router.push({ name: "VendorList" });
|
||||
}
|
||||
navigationStore.$patch({ current: to.matched, params: to.params || {} });
|
||||
removeMessages(); // This will actually flag the messages as displayed already
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue