From aefe43f8a83e0ddd26fdfad16d9da60a13dc432d Mon Sep 17 00:00:00 2001 From: Tiago Vasconcelos Date: Fri, 17 Mar 2023 15:00:33 +0000 Subject: [PATCH] fix: notify misplacement --- static/components/customer-stall/customer-stall.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/static/components/customer-stall/customer-stall.js b/static/components/customer-stall/customer-stall.js index 1c4a476..9c7e150 100644 --- a/static/components/customer-stall/customer-stall.js +++ b/static/components/customer-stall/customer-stall.js @@ -205,7 +205,9 @@ async function customerStall(path) { data: { payment_request: null }, - dismissMsg: null, + dismissMsg: this.$q.notify({ + message: 'Waiting for invoice from merchant...' + }), show: true } }, @@ -271,9 +273,6 @@ async function customerStall(path) { await this.sendOrder(event) }, async sendOrder(order) { - this.$q.notify({ - message: 'Waiting for invoice from merchant...' - }) for (const url of Array.from(this.relays)) { try { let relay = NostrTools.relayInit(url)