Bug 33381: Fix sidemenu active and hover styling
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Sat, 1 Apr 2023 17:38:33 +0000 (17:38 +0000)
committerJacob O'Mara <jacobomara901@gmail.com>
Sun, 16 Apr 2023 17:12:42 +0000 (18:12 +0100)
commitcb7496a37cc8b02b6933649d1d70413074441e91
treeeebf2479fead12c4419c49f83553cc8e874358da
parentcff59f18d5ef4b5a07ce1a4b4160daea00d8ea31
Bug 33381: Fix sidemenu active and hover styling

Change router link active class match rule. This makes it so that the route erm/agreements/1 will also match the router-link /erm/agreements instead of the previous exact match rule, thus adding the 'current' class
Update styling router-links to not apply 'current' styling when
.disabled

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 92e3793eb87485a5726cd26bd1c567ca574b2760)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue
koha-tmpl/intranet-tmpl/prog/js/vue/modules/erm.ts