mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-31 03:44:29 +01:00
fix Payment request "Cancel invoice" button always showing
The Cancel current invoice button always showed even when there was active invoice
This commit is contained in:
@@ -186,7 +186,7 @@ else
|
||||
Pay now
|
||||
</button>
|
||||
<button class="btn btn-secondary btn-lg mt-1"
|
||||
v-if="!srvModel.pendingInvoiceHasPayments"
|
||||
v-if="srvModel.anyPendingInvoice && !srvModel.pendingInvoiceHasPayments"
|
||||
v-on:click="cancelPayment()"
|
||||
:disabled="loading">
|
||||
<div v-if="loading" class="spinner-grow spinner-grow-sm" role="status">
|
||||
|
||||
Reference in New Issue
Block a user