mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-29 10:10:00 +02:00
Use scope instead of prop
This commit is contained in:
@ -25,14 +25,14 @@
|
||||
icon="add"
|
||||
size="md"
|
||||
>
|
||||
<q-popup-edit class="bg-accent text-white">
|
||||
<q-popup-edit class="bg-accent text-white" v-slot="scope">
|
||||
<q-input
|
||||
label="Amount to credit account"
|
||||
v-model="credit"
|
||||
v-model="scope.value"
|
||||
dense
|
||||
autofocus
|
||||
type="number"
|
||||
@keyup.enter="updateBalance(credit)"
|
||||
@keyup.enter="updateBalance(scope.value)"
|
||||
>
|
||||
<template v-slot:append>
|
||||
<q-icon name="edit" />
|
||||
|
Reference in New Issue
Block a user