Bug 41173: Fix ERM breadcrumb causing page reload
The main ERM route was missing a 'name' property, causing the navigation store to treat it as an external path (.pl extension). This resulted in breadcrumb links using href instead of router-link, causing unwanted page reloads. To test: 1. Navigate to ERM module 2. Go to any sub-section (Agreements, Licenses, etc.) 3. Click on 'E-resource management' in the breadcrumb => FAIL: Notice the page reloads! 4. Apply the patch 5. Repeat steps 1-3 => SUCCES: Verify the page doesn't reload and navigation works smoothly 6. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
ead9dd4cac
commit
7a614e4c67
|
|
@ -23,6 +23,7 @@ import { $__ } from "@koha-vue/i18n";
|
|||
export const routes = [
|
||||
{
|
||||
path: "/cgi-bin/koha/erm/erm.pl",
|
||||
name: "ERMHome",
|
||||
redirect: "/cgi-bin/koha/erm/home",
|
||||
is_default: true,
|
||||
is_base: true,
|
||||
|
|
|
|||
Loading…
Reference in New Issue