Merge branch 'refactor-send-receive-invoice-qrscanner'
This commit is contained in:
commit
578cd8f570
2 changed files with 19 additions and 24 deletions
|
|
@ -412,12 +412,20 @@ onMounted(async () => {
|
|||
</Card>
|
||||
|
||||
<!-- Dialogs -->
|
||||
<ReceiveDialog :open="showReceiveDialog" @update:open="showReceiveDialog = $event" />
|
||||
|
||||
<SendDialog v-if="showSendDialog" :open="showSendDialog" :initial-destination="scannedDestination" @update:open="(open) => {
|
||||
showSendDialog = open
|
||||
if (!open) scannedDestination = ''
|
||||
}" />
|
||||
<ReceiveDialog
|
||||
:open="showReceiveDialog"
|
||||
@update:open="showReceiveDialog = $event"
|
||||
/>
|
||||
|
||||
<SendDialog
|
||||
v-if="showSendDialog"
|
||||
:open="showSendDialog"
|
||||
:initial-destination="scannedDestination"
|
||||
@update:open="(open) => {
|
||||
showSendDialog = open
|
||||
if (!open) scannedDestination = ''
|
||||
}"
|
||||
/>
|
||||
|
||||
<!-- QR Scanner Dialog -->
|
||||
<Dialog :open="showQRScanner" @update:open="showQRScanner = $event">
|
||||
|
|
@ -432,7 +440,10 @@ onMounted(async () => {
|
|||
</DialogDescription>
|
||||
</DialogHeader>
|
||||
|
||||
<QRScanner @result="handleQRScanResult" @close="closeQRScanner" />
|
||||
<QRScanner
|
||||
@result="handleQRScanResult"
|
||||
@close="closeQRScanner"
|
||||
/>
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue