feat: add merchant-details
This commit is contained in:
parent
6c5299fe05
commit
152fe5baab
3 changed files with 15 additions and 10 deletions
|
|
@ -4,6 +4,7 @@
|
|||
unelevated
|
||||
color="primary"
|
||||
icon="public"
|
||||
label="Zones"
|
||||
@click="openZoneDialog()"
|
||||
>
|
||||
<q-list>
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue