fix add merchant pubkey

This commit is contained in:
Tiago Vasconcelos 2023-03-08 11:24:11 +00:00
parent 4817e6a3ea
commit 7413a9f620
2 changed files with 7 additions and 3 deletions

View file

@ -44,12 +44,12 @@
<q-input
filled
v-model="inputPubkey"
@keydown.enter="addPubkey"
@keydown.enter="addPubkey(null)"
type="text"
label="Pubkey/Npub"
hint="Add merchants"
>
<q-btn @click="addPubkey" dense flat icon="add"></q-btn>
<q-btn @click="addPubkey(null)" dense flat icon="add"></q-btn>
</q-input>
<q-list class="q-mt-md">
<q-item v-for="pub in Array.from(pubkeys)" :key="pub">