Don't show "Set up a Lightning node" when LN is not supported (#3935)

See discussion here: https://github.com/btcpayserver/btcpayserver/discussions/3868
This commit is contained in:
Umar Bolatov
2022-07-06 18:38:51 -07:00
committed by GitHub
parent 09462e6877
commit efe1686c05
4 changed files with 28 additions and 18 deletions

View File

@@ -10,6 +10,7 @@ public class StoreDashboardViewModel
public string StoreName { get; set; }
public bool WalletEnabled { get; set; }
public bool LightningEnabled { get; set; }
public bool LightningSupported { get; set; }
public bool IsSetUp { get; set; }
public List<AppData> Apps { get; set; } = new();
}