feat: navigate from chat to orders
This commit is contained in:
parent
2d522f8c47
commit
4974192b21
5 changed files with 34 additions and 3 deletions
|
|
@ -21,6 +21,7 @@ const merchant = async () => {
|
|||
merchant: {},
|
||||
shippingZones: [],
|
||||
activeChatCustomer: '',
|
||||
orderPubkey: null,
|
||||
showKeys: false,
|
||||
importKeyDialog: {
|
||||
show: false,
|
||||
|
|
@ -103,6 +104,9 @@ const merchant = async () => {
|
|||
customerSelectedForOrder: function (customerPubkey) {
|
||||
this.activeChatCustomer = customerPubkey
|
||||
},
|
||||
filterOrdersForCustomer: function (customerPubkey) {
|
||||
this.orderPubkey = customerPubkey
|
||||
},
|
||||
waitForNotifications: function () {
|
||||
try {
|
||||
const scheme = location.protocol === 'http:' ? 'ws' : 'wss'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue