Bug 34691: Fix linkActiveClass in createRouter
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Fri, 1 Sep 2023 13:03:21 +0000 (13:03 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 1 Sep 2023 14:23:32 +0000 (11:23 -0300)
commit7e87e39040be0263b3f6897365825a954686f7ad
tree4f4c6da64313957e7efb4703353e40f6305d8ee5
parent6b74b5df5aac6d29cddf839b746fd87bd2eafd63
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>
koha-tmpl/intranet-tmpl/prog/js/vue/modules/erm.ts