mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 06:21:44 +01:00
Fix new store incorrectly showing lightning enabled even if not
This commit is contained in:
parent
a64e304d16
commit
1fcf39d4ab
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ namespace BTCPayServer.Controllers
|
|||
{
|
||||
CryptoCode = paymentMethodId.CryptoCode,
|
||||
Address = lightning?.GetDisplayableConnectionString(),
|
||||
Enabled = !excludeFilters.Match(paymentMethodId)
|
||||
Enabled = !excludeFilters.Match(paymentMethodId) && lightning != null
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue