feat: show DMs for customers
This commit is contained in:
parent
482961a2ef
commit
b45927a15d
4 changed files with 78 additions and 12 deletions
|
|
@ -7,13 +7,14 @@
|
|||
<q-separator></q-separator>
|
||||
</q-card-section>
|
||||
<q-card-section>
|
||||
<!-- <q-select
|
||||
v-model="customerKey"
|
||||
:options="Object.keys(messages).map(k => ({label: `${k.slice(0, 25)}...`, value: k}))"
|
||||
label="Customers"
|
||||
@input="chatRoom(customerKey)"
|
||||
<q-select
|
||||
v-model="activePublicKey"
|
||||
:options="customersPublicKeys.map(k => ({label: `${k.slice(0, 16)}...${k.slice(k.length - 16)}`, value: k}))"
|
||||
label="Select Customer"
|
||||
emit-value
|
||||
></q-select> -->
|
||||
@input="selectActiveCustomer()"
|
||||
>
|
||||
</q-select>
|
||||
</q-card-section>
|
||||
<q-card-section>
|
||||
<div class="chat-container" ref="chatCard">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue