mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 10:39:59 +01:00
v-if all diagonalley things
This commit is contained in:
parent
5765c3c8c9
commit
1a820b4dac
@ -253,6 +253,7 @@
|
||||
>
|
||||
</q-select>
|
||||
<q-input
|
||||
v-if="diagonalley"
|
||||
v-if="keys"
|
||||
filled
|
||||
dense
|
||||
@ -260,6 +261,8 @@
|
||||
label="Public Key"
|
||||
></q-input>
|
||||
<q-input
|
||||
|
||||
v-if="diagonalley"
|
||||
v-if="keys"
|
||||
filled
|
||||
dense
|
||||
@ -267,7 +270,7 @@
|
||||
label="Private Key"
|
||||
></q-input>
|
||||
<!-- NOSTR -->
|
||||
<div class="row">
|
||||
<div v-if="diagonalley" class="row">
|
||||
<div class="col-5">
|
||||
<q-btn unelevated @click="generateKeys" color="primary"
|
||||
>Generate keys</q-btn
|
||||
@ -287,8 +290,8 @@
|
||||
v-model.trim="stallDialog.data.shippingzones"
|
||||
label="Shipping Zones"
|
||||
></q-select>
|
||||
<!-- NOSTR -->
|
||||
<!-- <q-select
|
||||
<q-select
|
||||
v-if="diagonalley"
|
||||
:options="relayOptions"
|
||||
filled
|
||||
dense
|
||||
@ -297,18 +300,19 @@
|
||||
label="Relays"
|
||||
></q-select>
|
||||
<q-input
|
||||
v-if="diagonalley"
|
||||
filled
|
||||
dense
|
||||
v-model.trim="stallDialog.data.crelays"
|
||||
label="Custom relays (seperate by comma)"
|
||||
></q-input>
|
||||
|
||||
<q-input
|
||||
v-if="diagonalley"
|
||||
filled
|
||||
dense
|
||||
v-model.trim="stallDialog.data.nostrShops"
|
||||
label="Nostr shop public keys (seperate by comma)"
|
||||
></q-input> -->
|
||||
></q-input>
|
||||
<p>
|
||||
<strong><small>Nostr support coming soon!</small></strong>
|
||||
</p>
|
||||
@ -1189,6 +1193,7 @@
|
||||
},
|
||||
keys: null,
|
||||
diagonAlley: false,
|
||||
diagonalley: false,
|
||||
products: [],
|
||||
orders: [],
|
||||
stalls: [],
|
||||
|
@ -102,7 +102,7 @@
|
||||
<q-card-section>
|
||||
<q-separator></q-separator>
|
||||
<q-list>
|
||||
<q-expansion-item group="extras" icon="vpn_key" label="Keys"
|
||||
<q-expansion-item v-if="diagonalley" group="extras" icon="vpn_key" label="Keys"
|
||||
><p>
|
||||
Bellow are the keys needed to contact the merchant. They are
|
||||
stored in the browser!
|
||||
@ -197,6 +197,7 @@
|
||||
</div>
|
||||
<!-- RESTORE KEYS DIALOG -->
|
||||
<q-dialog
|
||||
v-if="diagonalley"
|
||||
v-model="keysDialog.show"
|
||||
position="top"
|
||||
@hide="clearRestoreKeyDialog"
|
||||
@ -258,6 +259,7 @@
|
||||
messages: {},
|
||||
stall: null,
|
||||
selectedOrder: null,
|
||||
diagonalley: false,
|
||||
products: [],
|
||||
orders: [],
|
||||
user: {
|
||||
|
@ -163,6 +163,7 @@
|
||||
label="Name *optional"
|
||||
></q-input>
|
||||
<q-input
|
||||
v-if="diagonalley"
|
||||
filled
|
||||
dense
|
||||
v-model.trim="checkoutDialog.data.pubkey"
|
||||
@ -279,6 +280,7 @@
|
||||
stall: null,
|
||||
products: [],
|
||||
searchText: null,
|
||||
diagonalley:false,
|
||||
cart: {
|
||||
total: 0,
|
||||
size: 0,
|
||||
|
Loading…
Reference in New Issue
Block a user