From 301017633adae664f5dd0c4bc71becdf5a55adb6 Mon Sep 17 00:00:00 2001 From: Tiago Vasconcelos Date: Mon, 3 Apr 2023 11:27:51 +0100 Subject: [PATCH] remove pubkey on add in drawer --- static/js/market.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/static/js/market.js b/static/js/market.js index 5badff1..31b5b30 100644 --- a/static/js/market.js +++ b/static/js/market.js @@ -327,7 +327,6 @@ const market = async () => { return LNbits.utils.formatCurrency(amount, unit) }, async addPubkey(pubkey) { - console.log(pubkey, this.inputPubkey) if (!pubkey) { pubkey = String(this.inputPubkey).trim() } @@ -340,9 +339,6 @@ const market = async () => { pubkey = data.pubkey givenRelays = data.relays } - console.log(pubkey) - this.pubkeys.add(pubkey) - this.inputPubkey = null } catch (err) { console.error(err) } @@ -350,6 +346,7 @@ const market = async () => { pubkey = pubkey } this.pubkeys.add(pubkey) + this.inputPubkey = null this.$q.localStorage.set( `diagonAlley.merchants`, Array.from(this.pubkeys)