Lines 169-176
export default {
Link Here
|
169 |
const client = APIClient.acquisition |
169 |
const client = APIClient.acquisition |
170 |
client.vendors.getAll().then( |
170 |
client.vendors.getAll().then( |
171 |
vendors => { |
171 |
vendors => { |
172 |
this.vendorStore.vendors = vendors |
172 |
this.vendorStore.vendors = vendors.map(v => ({ |
173 |
this.initialized = true |
173 |
...v, |
|
|
174 |
display_name: |
175 |
v.name + |
176 |
(v.aliases.length > 0 |
177 |
? " (" + |
178 |
v.aliases.map(a => a.alias).join(", ") + |
179 |
")" |
180 |
: ""), |
181 |
})) |
174 |
}, |
182 |
}, |
175 |
error => {} |
183 |
error => {} |
176 |
) |
184 |
) |
177 |
- |
|
|