Bug 32939: (follow-up) Use APIClient to fetch vendors
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 24 Feb 2023 12:23:32 +0000 (13:23 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Feb 2023 14:13:13 +0000 (11:13 -0300)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue

index 5eba5d1..57d43c9 100644 (file)
@@ -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 => {}