Bug 32939: (follow-up) Use APIClient to fetch vendors

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2023-02-24 13:23:32 +01:00 committed by Tomas Cohen Arazi
parent 821808ec31
commit 2540ba19cb
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View 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 => {}