feat: show customer names
This commit is contained in:
parent
89f46fff35
commit
a719517b9c
5 changed files with 19 additions and 38 deletions
|
|
@ -9,7 +9,7 @@
|
|||
<q-card-section>
|
||||
<q-select
|
||||
v-model="activePublicKey"
|
||||
:options="customersPublicKeys.map(k => ({label: `${k.slice(0, 16)}...${k.slice(k.length - 16)}`, value: k}))"
|
||||
:options="customers.map(c => ({label: `${c.profile.name || 'unknown'} ${c.profile.about || ''} (${c.public_key.slice(0, 16)}...${c.public_key.slice(c.public_key.length - 16)})`, value: c.public_key}))"
|
||||
label="Select Customer"
|
||||
emit-value
|
||||
@input="selectActiveCustomer()"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue