Bugzilla – Attachment 147122 Details for
Bug 32932
Re-structure Vue router-links to use "name" instead of urls
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32932: Update ermmain to use router name property
Bug-32932-Update-ermmain-to-use-router-name-proper.patch (text/plain), 1.82 KB, created by
Matt Blenkinsop
on 2023-02-22 10:47:12 UTC
(
hide
)
Description:
Bug 32932: Update ermmain to use router name property
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2023-02-22 10:47:12 UTC
Size:
1.82 KB
patch
obsolete
>From 6b67a1a4d553b01facd29e7c64f89b75c49d15d3 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Tue, 14 Feb 2023 14:05:17 +0000 >Subject: [PATCH] Bug 32932: Update ermmain to use router name property > >Updating the router links in the homepage as per previous commits >--- > koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue | 2 +- > koha-tmpl/intranet-tmpl/prog/js/vue/routes/erm.js | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue >index 24f7c886f7f..c18209abe13 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue >@@ -29,7 +29,7 @@ > </li> > <li> > <router-link >- to="/cgi-bin/koha/erm/licenses" >+ :to="{ name: 'LicensesList' }" > > > <i class="fa fa-gavel"></i> > {{ $__("Licenses") }}</router-link >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/routes/erm.js b/koha-tmpl/intranet-tmpl/prog/js/vue/routes/erm.js >index a98c046ccfc..c023b2e47d0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/routes/erm.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/routes/erm.js >@@ -125,7 +125,7 @@ export const routes = [ > }, > { > path: "/cgi-bin/koha/erm/erm.pl", >- name: "Home" >+ name: "Home", > component: Home, > meta: { > breadcrumb: () => [breadcrumbs.home, breadcrumbs.erm_home], >-- >2.37.1 (Apple Git-137.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 32932
:
146439
|
146442
|
146616
|
146617
|
146618
|
146624
|
146625
|
146965
|
146966
|
146967
|
146968
|
147119
|
147120
|
147121
|
147122
|
148115
|
148551
|
148552
|
148553
|
148554
|
148558
|
148559
|
148560
|
148561
|
149210
|
149707
|
149709
|
149934
|
149935
|
151529
|
152231