From debb8f5baa9edc36a52a503cdc363f4fa368ce22 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Fri, 15 Nov 2024 15:53:57 +0000 Subject: [PATCH] Bug 38010: Remove unnecessary navigation check --- koha-tmpl/intranet-tmpl/prog/js/vue/modules/acquisitions.ts | 3 --- koha-tmpl/intranet-tmpl/prog/js/vue/routes/acquisitions.js | 1 - 2 files changed, 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/modules/acquisitions.ts b/koha-tmpl/intranet-tmpl/prog/js/vue/modules/acquisitions.ts index c8f132c138a..181ac69f785 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/modules/acquisitions.ts +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/modules/acquisitions.ts @@ -63,7 +63,4 @@ const { removeMessages } = mainStore; router.beforeEach((to, from) => { navigationStore.$patch({ current: to.matched, params: to.params || {} }); removeMessages(); // This will actually flag the messages as displayed already - if (to.external || to.meta.self.parent.external) { - window.location.href = to.path; - } }); diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/routes/acquisitions.js b/koha-tmpl/intranet-tmpl/prog/js/vue/routes/acquisitions.js index ccc2987fa41..7b922722a04 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/routes/acquisitions.js +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/routes/acquisitions.js @@ -10,7 +10,6 @@ import { $__ } from "../i18n"; export const routes = [ { path: "/cgi-bin/koha/acqui/acqui-home.pl", - external: true, is_default: true, is_base: true, title: $__("Acquisitions"), -- 2.39.3 (Apple Git-146)