Skip to content

Commit

Permalink
#115 fix: error in button to be shown when an interface is displayed …
Browse files Browse the repository at this point in the history
…in Wireguard.razor
  • Loading branch information
joseantmazonsb committed Feb 27, 2022
1 parent 509b2a8 commit 1b278c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Linguard/Web/Pages/Wireguard.razor
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<RadzenDataGridColumn TItem="Interface" Title="Actions" Resizable="false"
Filterable="false" Sortable="false">
<Template Context="data">
@if (_wireguardService.IsInterfaceUp(data)) {
@if (_wireguardService.IsInterfaceDown(data)) {
<RadzenButton Icon="play_arrow" ButtonStyle="ButtonStyle.Success" title="Start"
Click="() => StartInterface(data)" />
}
Expand Down

0 comments on commit 1b278c6

Please sign in to comment.