Skip to content

Commit

Permalink
Lightning Node page update
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisreimann committed Dec 6, 2024
1 parent c411e75 commit c6b0feb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BTCPayApp.UI/Pages/Lightning/SettingsPage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
</Titlebar>
</SectionContent>
<section class="container">
@if (State.Value.LightningNodeState is LightningNodeState.NotConfigured)
@if (State.Value.LightningNodeState is LightningNodeState.NotConfigured)
{
<button class="btn btn-primary" @onclick="ConfigureLNWallet">Configure Lightning Wallet</button>
}
else if (State.Value.LightningNodeState is not LightningNodeState.Error)
else if (Node is not null && State.Value.LightningNodeState is not LightningNodeState.Error)
{
<h2 class="d-flex flex-wrap align-items-center gap-2">
<span>@(_config?.Alias ?? "Lightning Node")</span>
Expand Down

0 comments on commit c6b0feb

Please sign in to comment.