fix: clear merchant screen on delete
This commit is contained in:
parent
a28cae039c
commit
260bea9ccf
2 changed files with 7 additions and 0 deletions
|
|
@ -59,6 +59,12 @@ const merchant = async () => {
|
|||
toggleMerchantKeys: function (value) {
|
||||
this.showKeys = value
|
||||
},
|
||||
handleMerchantDeleted: function() {
|
||||
this.merchant = null
|
||||
this.shippingZones = []
|
||||
this.activeChatCustomer = ''
|
||||
this.showKeys = false
|
||||
},
|
||||
createMerchant: async function (privateKey) {
|
||||
try {
|
||||
const pubkey = nostr.getPublicKey(privateKey)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue