mirror of
https://github.com/lnbits/lnbits.git
synced 2025-03-19 14:21:50 +01:00
fix: don't show when custom badge is not set (#2827)
This commit is contained in:
parent
b66a8b3de9
commit
740180d332
@ -83,7 +83,7 @@
|
||||
filled
|
||||
type="text"
|
||||
tip="Custom Badge"
|
||||
v-model="formData.lnbits_custom_badge"
|
||||
v-model.trim="formData.lnbits_custom_badge"
|
||||
label="Custom Badge 'USE WITH CAUTION - LNbits wallet is still in BETA'"
|
||||
></q-input>
|
||||
</div>
|
||||
|
@ -67,10 +67,11 @@
|
||||
</q-badge>
|
||||
{%endif%} {% if LNBITS_CUSTOM_BADGE is defined %}
|
||||
<q-badge
|
||||
v-if="`{{LNBITS_CUSTOM_BADGE}}`.length > 0"
|
||||
v-show="$q.screen.gt.sm"
|
||||
color="{{ LNBITS_CUSTOM_BADGE_COLOR }}"
|
||||
class="q-mr-md"
|
||||
label="{{LNBITS_CUSTOM_BADGE}}"
|
||||
label="{{LNBITS_CUSTOM_BADGE|e}}"
|
||||
>
|
||||
</q-badge>
|
||||
{%endif%} {% if LNBITS_SERVICE_FEE > 0 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user