Bug 34691: Fix linkActiveClass in createRouter
Test plan: 1) Visit /cgi-bin/koha/erm/agreements/add 2) Notice the "Agreements" menu item is not active 3) Apply the tests patch only 4) Run tests, watch them fail 5) Apply this patch, restart yarn js:watch and hard refresh browser 6) Repeat steps 1) and 2) Verify it's now active 7) Run tests, watch them pass Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
6b74b5df5a
commit
7e87e39040
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ const routes = navigationStore.setRoutes(routesDef);
|
|||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
linkExactActiveClass: "current",
|
||||
linkActiveClass: "current",
|
||||
routes,
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue