Merge pull request #943 from lnbits/fix/tpos_dismiss_btn
Fix/tpos dismiss btn
This commit is contained in:
commit
6f9ad06449
2 changed files with 6 additions and 7 deletions
|
|
@ -138,8 +138,9 @@
|
||||||
hide-dropdown-icon
|
hide-dropdown-icon
|
||||||
input-debounce="0"
|
input-debounce="0"
|
||||||
new-value-mode="add-unique"
|
new-value-mode="add-unique"
|
||||||
label="Tip % Options"
|
label="Tip % Options (hit enter to add values)"
|
||||||
></q-select>
|
><q-tooltip>Hit enter to add values</q-tooltip></q-select
|
||||||
|
>
|
||||||
<div class="row q-mt-lg">
|
<div class="row q-mt-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
|
|
|
||||||
|
|
@ -253,7 +253,7 @@
|
||||||
name="check"
|
name="check"
|
||||||
transition-show="fade"
|
transition-show="fade"
|
||||||
class="text-light-green"
|
class="text-light-green"
|
||||||
style="font-size: 40em"
|
style="font-size: min(90vw, 40em)"
|
||||||
></q-icon>
|
></q-icon>
|
||||||
</q-dialog>
|
</q-dialog>
|
||||||
</q-page>
|
</q-page>
|
||||||
|
|
@ -294,6 +294,7 @@
|
||||||
exchangeRate: null,
|
exchangeRate: null,
|
||||||
stack: [],
|
stack: [],
|
||||||
tipAmount: 0.0,
|
tipAmount: 0.0,
|
||||||
|
hasNFC: false,
|
||||||
nfcTagReading: false,
|
nfcTagReading: false,
|
||||||
invoiceDialog: {
|
invoiceDialog: {
|
||||||
show: false,
|
show: false,
|
||||||
|
|
@ -370,7 +371,7 @@
|
||||||
this.showInvoice()
|
this.showInvoice()
|
||||||
},
|
},
|
||||||
submitForm: function () {
|
submitForm: function () {
|
||||||
if (this.tip_options.length) {
|
if (this.tip_options && this.tip_options.length) {
|
||||||
this.showTipModal()
|
this.showTipModal()
|
||||||
} else {
|
} else {
|
||||||
this.showInvoice()
|
this.showInvoice()
|
||||||
|
|
@ -413,9 +414,6 @@
|
||||||
dialog.show = false
|
dialog.show = false
|
||||||
|
|
||||||
self.complete.show = true
|
self.complete.show = true
|
||||||
setTimeout(function () {
|
|
||||||
self.complete.show = false
|
|
||||||
}, 5000)
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, 3000)
|
}, 3000)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue