From 03e4a9d593a09263f2b848476d7e1f8e529e6ccf Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 24 Feb 2023 13:23:32 +0100 Subject: [PATCH] Bug 32939: (follow-up) Use APIClient to fetch vendors Signed-off-by: Pedro Amorim --- koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5eba5d1ee8..57d43c9d54 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 @@ -157,7 +157,7 @@ export default { const client = APIClient.acquisition client.vendors.getAll().then( vendors => { - this.vendors = vendors + this.vendorStore.vendors = vendors this.initialized = true }, error => {} -- 2.30.2