commit
00e8da895c
2 changed files with 10 additions and 8 deletions
|
|
@ -160,11 +160,16 @@
|
|||
></q-input>
|
||||
<p>Select the shipping zone:</p>
|
||||
<div class="row q-mt-lg">
|
||||
<q-option-group
|
||||
:options="stall.shipping.map(s => ({label: s.countries.toString(), value: s.id}))"
|
||||
type="radio"
|
||||
emit-value
|
||||
<q-select
|
||||
style="min-width: 200px"
|
||||
filled
|
||||
dense
|
||||
stack-label
|
||||
v-model="checkoutDialog.data.shippingzone"
|
||||
emit-value
|
||||
map-options
|
||||
:options="stall.shipping.map(s => ({label: s.countries.toString(), value: s.id}))"
|
||||
label="Shipping Zone"
|
||||
/>
|
||||
</div>
|
||||
<div class="row q-mt-lg">
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue