diff --git a/lnbits/extensions/shop/templates/shop/order.html b/lnbits/extensions/shop/templates/shop/order.html index ab633b54..7fd81747 100644 --- a/lnbits/extensions/shop/templates/shop/order.html +++ b/lnbits/extensions/shop/templates/shop/order.html @@ -270,7 +270,8 @@ products: [], orders: [], user: { - keys: {} + keys: {}, + orders: {} }, keysDialog: { show: false, @@ -353,11 +354,9 @@ const privkey = nostr.generatePrivateKey() const pubkey = nostr.getPublicKey(privkey) - this.user = { - keys: { - privatekey: privkey, - publickey: pubkey - } + this.user.keys = { + privatekey: privkey, + publickey: pubkey } }, async getMessages(room_name, all = false) {