Bug 32030: Fix injectedRoute is undefined

Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2022-10-21 10:09:15 +02:00 committed by Tomas Cohen Arazi
parent 2db6bd8a0c
commit f38f00530f
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -1,5 +1,4 @@
import { h } from "vue"; import { h } from "vue";
import { RouterView } from "vue-router";
import ERMHome from "./components/ERM/ERMHome.vue"; import ERMHome from "./components/ERM/ERMHome.vue";
import AgreementsList from "./components/ERM/AgreementsList.vue"; import AgreementsList from "./components/ERM/AgreementsList.vue";
import AgreementsShow from "./components/ERM/AgreementsShow.vue"; import AgreementsShow from "./components/ERM/AgreementsShow.vue";
@ -140,7 +139,6 @@ export const routes = [
}, },
{ {
path: "/cgi-bin/koha/erm/agreements", path: "/cgi-bin/koha/erm/agreements",
component: { render: () => h(RouterView) },
children: [ children: [
{ {
path: "", path: "",
@ -197,7 +195,6 @@ export const routes = [
}, },
{ {
path: "/cgi-bin/koha/erm/eholdings", path: "/cgi-bin/koha/erm/eholdings",
component: { render: () => h(RouterView) },
meta: { meta: {
breadcrumb: () => breadcrumb_paths.eholdings, breadcrumb: () => breadcrumb_paths.eholdings,
}, },
@ -211,7 +208,6 @@ export const routes = [
}, },
{ {
path: "local", path: "local",
component: { render: () => h(RouterView) },
children: [ children: [
{ {
path: "", path: "",
@ -222,7 +218,6 @@ export const routes = [
}, },
{ {
path: "packages", path: "packages",
component: { render: () => h(RouterView) },
children: [ children: [
{ {
path: "", path: "",
@ -301,7 +296,6 @@ export const routes = [
}, },
{ {
path: "titles", path: "titles",
component: { render: () => h(RouterView) },
children: [ children: [
{ {
path: "", path: "",
@ -410,7 +404,6 @@ export const routes = [
}, },
{ {
path: "ebsco", path: "ebsco",
component: { render: () => h(RouterView) },
children: [ children: [
{ {
path: "", path: "",
@ -421,7 +414,6 @@ export const routes = [
}, },
{ {
path: "packages", path: "packages",
component: { render: () => h(RouterView) },
children: [ children: [
{ {
path: "", path: "",
@ -454,7 +446,6 @@ export const routes = [
}, },
{ {
path: "titles", path: "titles",
component: { render: () => h(RouterView) },
children: [ children: [
{ {
path: "", path: "",
@ -504,7 +495,6 @@ export const routes = [
}, },
{ {
path: "/cgi-bin/koha/erm/licenses", path: "/cgi-bin/koha/erm/licenses",
component: { render: () => h(RouterView) },
children: [ children: [
{ {
path: "", path: "",