Merge pull request #1294 from lnbits/wallethotfix

Fixes error in formatting in wallet
This commit is contained in:
Arc 2023-01-04 23:31:28 +00:00 committed by GitHub
commit a9eddd184c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -468,10 +468,10 @@
dense
v-model.number="receive.data.amount"
:label="'Amount (' + receive.unit + ') *'"
:mask="receive.unit != 'sats' ? '#.##' : '#'"
:mask="receive.unit != 'sat' ? '#.##' : '#'"
fill-mask="0"
reverse-fill-mask
:step="receive.unit != 'sats' ? '0.01' : '1'"
:step="receive.unit != 'sat' ? '0.01' : '1'"
:min="receive.minMax[0]"
:max="receive.minMax[1]"
:readonly="receive.lnurl && receive.lnurl.fixed"