From 301017633adae664f5dd0c4bc71becdf5a55adb6 Mon Sep 17 00:00:00 2001 From: Tiago Vasconcelos Date: Mon, 3 Apr 2023 11:27:51 +0100 Subject: [PATCH 1/2] 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) From c0a48bf444d7dbd61b6764c2620dd5a8339b1d6e Mon Sep 17 00:00:00 2001 From: Tiago Vasconcelos Date: Mon, 3 Apr 2023 11:28:38 +0100 Subject: [PATCH 2/2] replace radio option to select dropdown for zones on checkout --- .../components/customer-stall/customer-stall.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/static/components/customer-stall/customer-stall.html b/static/components/customer-stall/customer-stall.html index f9fc244..a3e64f8 100644 --- a/static/components/customer-stall/customer-stall.html +++ b/static/components/customer-stall/customer-stall.html @@ -160,11 +160,16 @@ >

Select the shipping zone:

-