fix: notification for orders
This commit is contained in:
parent
21a77d643f
commit
2b84ebc83b
5 changed files with 54 additions and 38 deletions
|
|
@ -107,9 +107,9 @@ async function directMessages(path) {
|
|||
this.showAddPublicKey = false
|
||||
}
|
||||
},
|
||||
handleNewMessage: async function (dm) {
|
||||
if (dm.customerPubkey === this.activePublicKey) {
|
||||
this.messages.push(dm.data)
|
||||
handleNewMessage: async function (data) {
|
||||
if (data.customerPubkey === this.activePublicKey) {
|
||||
this.messages.push(data.dm)
|
||||
this.focusOnChatBox(this.messages.length - 1)
|
||||
// focus back on input box
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue