From 7023fa9085557e5cb539342bac1eda7baa051015 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Wed, 4 Dec 2024 10:54:49 +0000 Subject: [PATCH] Bug 38010: Fix programmatic navigation id attribute --- .../prog/js/vue/components/Islands/VendorMenu.vue | 2 +- koha-tmpl/intranet-tmpl/prog/js/vue/components/LeftMenu.vue | 2 +- .../prog/js/vue/components/Vendors/VendorFormAdd.vue | 4 ++-- .../prog/js/vue/components/Vendors/VendorShow.vue | 2 +- koha-tmpl/intranet-tmpl/prog/js/vue/routes/acquisitions.js | 6 ++++-- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Islands/VendorMenu.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Islands/VendorMenu.vue index ae690951996..956e760e42a 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Islands/VendorMenu.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Islands/VendorMenu.vue @@ -109,7 +109,7 @@ export default { }; }, data() { - const vendorId = this.vendorid ? this.vendorid : this.params.vendor_id; + const vendorId = this.vendorid ? this.vendorid : this.params.id; return { vendorId, }; diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/LeftMenu.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/LeftMenu.vue index a4e4e657275..5b0a456cf50 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/LeftMenu.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/LeftMenu.vue @@ -1,5 +1,5 @@