Bugzilla – Attachment 155121 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), 1.20 KB, created by
Jonathan Druart
on 2023-09-01 13:41:54 UTC
(
hide
)
Description:
Bug 34691: Fix linkActiveClass in createRouter
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-09-01 13:41:54 UTC
Size:
1.20 KB
patch
obsolete
>From 3a862458454d01d5f09356a43f2b6138ec3d907f 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 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> >--- > 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 4460be9a1c8..456f4435f22 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.25.1
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