feat: add merchant-details

This commit is contained in:
Vlad Stan 2023-03-14 11:19:53 +02:00
parent 6c5299fe05
commit 152fe5baab
3 changed files with 15 additions and 10 deletions

View file

@ -4,6 +4,7 @@
unelevated
color="primary"
icon="public"
label="Zones"
@click="openZoneDialog()"
>
<q-list>

View file

@ -7,6 +7,9 @@ const merchant = async () => {
await stallList('static/components/stall-list/stall-list.html')
await orderList('static/components/order-list/order-list.html')
await directMessages('static/components/direct-messages/direct-messages.html')
await merchantDetails(
'static/components/merchant-details/merchant-details.html'
)
const nostr = window.NostrTools
@ -52,6 +55,9 @@ const merchant = async () => {
showImportKeysDialog: async function () {
this.importKeyDialog.show = true
},
toggleMerchantKeys: function (value) {
this.showKeys = value
},
createMerchant: async function (privateKey) {
try {
const pubkey = nostr.getPublicKey(privateKey)