[Fix] Denomination 3 characters (#3001)
* fix: denomination must be 3 chars ISO
This commit is contained in:
parent
5aa1f9b0f8
commit
89d85a0d7e
3 changed files with 3 additions and 1 deletions
|
|
@ -61,6 +61,7 @@
|
||||||
v-model="formData.lnbits_denomination"
|
v-model="formData.lnbits_denomination"
|
||||||
label="sats"
|
label="sats"
|
||||||
:hint="$t('denomination_hint')"
|
:hint="$t('denomination_hint')"
|
||||||
|
:rules="[(val) => !val || val.length = 3 || val === 'sats' || $t('denomination_error')]"
|
||||||
></q-input>
|
></q-input>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-md-4">
|
<div class="col-12 col-md-4">
|
||||||
|
|
|
||||||
2
lnbits/static/bundle.min.js
vendored
2
lnbits/static/bundle.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -483,6 +483,7 @@ window.localisation.en = {
|
||||||
lnbits_wallet: 'LNbits wallet',
|
lnbits_wallet: 'LNbits wallet',
|
||||||
denomination: 'Denomination',
|
denomination: 'Denomination',
|
||||||
denomination_hint: 'The name for the FakeWallet token',
|
denomination_hint: 'The name for the FakeWallet token',
|
||||||
|
denomination_error: 'Denomination must be 3 characters, or `sats`',
|
||||||
ui_qr_code_logo: 'QR Code Logo',
|
ui_qr_code_logo: 'QR Code Logo',
|
||||||
ui_qr_code_logo_hint: 'URL to logo image in QR code',
|
ui_qr_code_logo_hint: 'URL to logo image in QR code',
|
||||||
ui_custom_image: 'Custom Image',
|
ui_custom_image: 'Custom Image',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue