Fixed admin debit input

This commit is contained in:
benarc 2022-02-03 13:15:43 +00:00
parent 50fcb15725
commit a7c65d5d60

View File

@ -31,6 +31,7 @@
v-model="credit" v-model="credit"
> >
<q-input <q-input
v-if="'{{LNBITS_DENOMINATION}}' != 'sats'"
label="Amount to credit account" label="Amount to credit account"
v-model="scope.value" v-model="scope.value"
dense dense
@ -44,6 +45,19 @@
<q-icon name="edit" /> <q-icon name="edit" />
</template> </template>
</q-input> </q-input>
<q-input
v-else
type="number"
label="Amount to credit account"
v-model="scope.value"
dense
autofocus
@keyup.enter="updateBalance(scope.value)"
>
<template v-slot:append>
<q-icon name="edit" />
</template>
</q-input>
</q-popup-edit> </q-popup-edit>
</q-btn> </q-btn>
</h3> </h3>