feat: link order to DMs

This commit is contained in:
Vlad Stan 2023-03-17 10:51:20 +02:00
parent b45927a15d
commit d7d7869b0e
11 changed files with 32 additions and 23 deletions

View file

@ -20,6 +20,7 @@ const merchant = async () => {
return {
merchant: {},
shippingZones: [],
activeChatCustomer: '',
showKeys: false,
importKeyDialog: {
show: false,
@ -92,6 +93,9 @@ const merchant = async () => {
} catch (error) {
LNbits.utils.notifyApiError(error)
}
},
customerSelectedForOrder: function (customerPubkey) {
this.activeChatCustomer = customerPubkey
}
},
created: async function () {