mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 06:21:44 +01:00
Payjoin: Fix payjoin detection in checkout UI
sometimes, it would think there is a payjoin enabled invoice when really, it was just the address or asset id that has `pj` in it
This commit is contained in:
parent
3e13e478ad
commit
74c574255e
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@
|
|||
},
|
||||
computed: {
|
||||
hasPayjoin: function(){
|
||||
return this.srvModel.invoiceBitcoinUrl.indexOf('@PayjoinClient.BIP21EndpointKey') === -1;
|
||||
return this.srvModel.invoiceBitcoinUrl.indexOf('@PayjoinClient.BIP21EndpointKey=') === -1;
|
||||
},
|
||||
coinswitchAmountDue: function() {
|
||||
return this.srvModel.coinSwitchAmountMarkupPercentage
|
||||
|
|
Loading…
Add table
Reference in a new issue