0👍
✅
thank you to @Gabe
making it a computed property worked like a charm
You are not waiting for the loadVendors call, so when you call
get_vendor_names() the vendors array is probably still empty. I
suggest you make vendor_names a computed property, so it updates when
vendors changes.
Source:stackexchange.com