Merge pull request #936 from lnbits/revertremovinnfcbutton
Reverted nfc button not showing
This commit is contained in:
commit
ee76a58c27
2 changed files with 2 additions and 3 deletions
|
|
@ -16,7 +16,6 @@ new Vue({
|
||||||
return {
|
return {
|
||||||
toggleAdvanced: false,
|
toggleAdvanced: false,
|
||||||
nfcTagReading: false,
|
nfcTagReading: false,
|
||||||
nfcSupported: typeof NDEFReader != 'undefined',
|
|
||||||
lnurlLink: `${window.location.host}/boltcards/api/v1/scan/`,
|
lnurlLink: `${window.location.host}/boltcards/api/v1/scan/`,
|
||||||
cards: [],
|
cards: [],
|
||||||
hits: [],
|
hits: [],
|
||||||
|
|
|
||||||
|
|
@ -251,7 +251,7 @@
|
||||||
>
|
>
|
||||||
</q-input>
|
</q-input>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div v-bind:class="{'col-10': nfcSupported, 'col-12': !nfcSupported}">
|
<div class="col-10">
|
||||||
<q-input
|
<q-input
|
||||||
filled
|
filled
|
||||||
dense
|
dense
|
||||||
|
|
@ -265,7 +265,7 @@
|
||||||
>
|
>
|
||||||
</q-input>
|
</q-input>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-2 q-pl-sm" v-if="nfcSupported">
|
<div class="col-2 q-pl-sm">
|
||||||
<q-btn
|
<q-btn
|
||||||
outline
|
outline
|
||||||
disable
|
disable
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue