Bugzilla – Attachment 155114 Details for
Bug 34691
Active link in the menu is not always correctly styled - again
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34691: Fix linkActiveClass in createRouter
Bug-34691-Fix-linkActiveClass-in-createRouter.patch (text/plain), 990 bytes, created by
Pedro Amorim
on 2023-09-01 13:04:13 UTC
(
hide
)
Description:
Bug 34691: Fix linkActiveClass in createRouter
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-09-01 13:04:13 UTC
Size:
990 bytes
patch
obsolete
>From caff7b3c5897403760c747fd1f279599a95e8c88 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Fri, 1 Sep 2023 13:03:21 +0000 >Subject: [PATCH] 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 patch, restart yarn js:watch. Repeat >--- > koha-tmpl/intranet-tmpl/prog/js/vue/modules/erm.ts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/modules/erm.ts b/koha-tmpl/intranet-tmpl/prog/js/vue/modules/erm.ts >index 4460be9a1c..456f4435f2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/modules/erm.ts >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/modules/erm.ts >@@ -35,7 +35,7 @@ const routes = navigationStore.setRoutes(routesDef); > > const router = createRouter({ > history: createWebHistory(), >- linkExactActiveClass: "current", >+ linkActiveClass: "current", > routes, > }); > >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34691
:
155114
|
155117
|
155118
|
155120
|
155121