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