From 59a2562708c2d082b909cd673a486ae3c1a2215a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 2 Feb 2023 21:16:58 +0100 Subject: [PATCH] Bug 32806: Rename ERMHome and ERMMain to Home and Main We don't need to repeat "ERM" Signed-off-by: Paul Derscheid Signed-off-by: Pedro Amorim Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 998289850f373a6b83d1ee4387161575fd6d3def) Signed-off-by: Matt Blenkinsop --- .../prog/js/vue/components/ERM/{ERMHome.vue => Home.vue} | 0 .../prog/js/vue/components/ERM/{ERMMain.vue => Main.vue} | 0 koha-tmpl/intranet-tmpl/prog/js/vue/main-erm.ts | 2 +- koha-tmpl/intranet-tmpl/prog/js/vue/routes.js | 4 ++-- 4 files changed, 3 insertions(+), 3 deletions(-) rename koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/{ERMHome.vue => Home.vue} (100%) rename koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/{ERMMain.vue => Main.vue} (100%) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/ERMHome.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Home.vue similarity index 100% rename from koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/ERMHome.vue rename to koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Home.vue diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/ERMMain.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue similarity index 100% rename from koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/ERMMain.vue rename to koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/main-erm.ts b/koha-tmpl/intranet-tmpl/prog/js/vue/main-erm.ts index 3382d1a1be..4819e72111 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/main-erm.ts +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/main-erm.ts @@ -15,7 +15,7 @@ import vSelect from "vue-select"; library.add(faPlus, faMinus, faPencil, faTrash, faSpinner); -import App from "./components/ERM/ERMMain.vue"; +import App from "./components/ERM/Main.vue"; import { routes } from "./routes"; diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/routes.js b/koha-tmpl/intranet-tmpl/prog/js/vue/routes.js index 62421c2e61..81b3f9bb07 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/routes.js +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/routes.js @@ -1,5 +1,5 @@ import { h } from "vue"; -import ERMHome from "./components/ERM/ERMHome.vue"; +import Home from "./components/ERM/Home.vue"; import AgreementsList from "./components/ERM/AgreementsList.vue"; import AgreementsShow from "./components/ERM/AgreementsShow.vue"; import AgreementsFormAdd from "./components/ERM/AgreementsFormAdd.vue"; @@ -126,7 +126,7 @@ export const routes = [ }, { path: "/cgi-bin/koha/erm/erm.pl", - component: ERMHome, + component: Home, meta: { breadcrumb: () => [breadcrumbs.home, breadcrumbs.erm_home], }, -- 2.39.5