mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +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:
parent
d66e8f2d13
commit
749146ad3c
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user