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