]> git.koha-community.org Git - koha.git/commit
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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 6 Apr 2023 12:29:14 +0000 (09:29 -0300)
commit92e3793eb87485a5726cd26bd1c567ca574b2760
tree866ca21aff7cd32c3320e2999c04e0a69d7409c4
parentf74a353097710cf33b3b75b9912b2b00d2aa1a30
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>
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue
koha-tmpl/intranet-tmpl/prog/js/vue/modules/erm.ts