Refactor ReceiveDialog.vue for Lightning invoice creation
- Updated the form to create Lightning invoices instead of LNURL addresses, changing the validation schema and input fields accordingly. - Introduced new state management for created invoices and adjusted the submission logic to handle invoice creation. - Enhanced the UI to display invoice details, including amount, memo, and QR code generation for the invoice. - Removed unused components and streamlined the dialog's functionality for a more focused user experience. These changes improve the functionality and user interface of the ReceiveDialog component, facilitating easier invoice management for Bitcoin payments.
This commit is contained in:
parent
27070c0390
commit
21e1c8f7c0
3 changed files with 280 additions and 318 deletions
|
|
@ -277,14 +277,6 @@ onMounted(async () => {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<Button
|
||||
variant="outline"
|
||||
@click="showReceiveDialog = true"
|
||||
class="w-full sm:w-auto"
|
||||
>
|
||||
<QrCode class="h-4 w-4 mr-2" />
|
||||
Manage Addresses
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</CardContent>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue