Lines 157-164
export default {
Link Here
|
157 |
const client = APIClient.acquisition |
157 |
const client = APIClient.acquisition |
158 |
client.vendors.getAll().then( |
158 |
client.vendors.getAll().then( |
159 |
vendors => { |
159 |
vendors => { |
160 |
this.vendorStore.vendors = vendors |
160 |
this.vendorStore.vendors = vendors.map(v => ({ |
161 |
this.initialized = true |
161 |
...v, |
|
|
162 |
display_name: |
163 |
v.name + |
164 |
(v.aliases.length > 0 |
165 |
? " (" + |
166 |
v.aliases.map(a => a.alias).join(", ") + |
167 |
")" |
168 |
: ""), |
169 |
})) |
162 |
}, |
170 |
}, |
163 |
error => {} |
171 |
error => {} |
164 |
) |
172 |
) |
165 |
- |
|
|