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:
Matt Blenkinsop 2025-04-22 11:12:48 +01:00 committed by Katrin Fischer
parent 8f93413671
commit bbbf71f971
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 3 additions and 0 deletions

View File

@ -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
});