diff --git a/templates/satspay/display.html b/templates/satspay/display.html index 5a527d7..93707ab 100644 --- a/templates/satspay/display.html +++ b/templates/satspay/display.html @@ -3,7 +3,7 @@
-
SatsPay
+
${charge.name || 'LNbits SatsPay'}
${charge.description}
diff --git a/templates/satspay/index.html b/templates/satspay/index.html index 07d6238..4e4f518 100644 --- a/templates/satspay/index.html +++ b/templates/satspay/index.html @@ -366,6 +366,13 @@
+ this.formDialogThemes.show = false }, cancelCharge: function (data) { + this.formDialogCharge.data.description = null this.formDialogCharge.data.description = '' this.formDialogCharge.data.onchain = false this.formDialogCharge.data.onchainwallet = '' @@ -877,8 +885,11 @@
) for (const charge of onchainActiveCharges) { - const fn = async () =>{ - const api = charge.extra?.network === 'Testnet' ? addressesTestAPI : addressesAPI + const fn = async () => { + const api = + charge.extra?.network === 'Testnet' + ? addressesTestAPI + : addressesAPI return api.getAddressTxsUtxo({ address: charge.onchainaddress })