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:
Kukks 2020-04-30 09:05:17 +02:00
parent 3e13e478ad
commit 74c574255e

View File

@ -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