Skip to content

Commit 7d4a9b4

Browse files
committed
add icons to health view
1 parent 307594e commit 7d4a9b4

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

NetEvent/Client/Pages/Administration/SystemInfo.razor

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,16 @@
2525
<RowTemplate>
2626
<MudTd DataLabel="Component">@context.Component</MudTd>
2727
<MudTd DataLabel="Value">@context.Value</MudTd>
28-
<MudTd DataLabel="Healthy">@context.Healthy</MudTd>
28+
<MudTd DataLabel="Healthy">
29+
@if (context.Healthy)
30+
{
31+
<MudIcon Icon="@Icons.Filled.CheckCircle" Color="Color.Success" />
32+
}
33+
else
34+
{
35+
<MudIcon Icon="@Icons.Filled.Error" Color="Color.Error" />
36+
}
37+
</MudTd>
2938
</RowTemplate>
3039
</MudTable>
3140
</MudTabPanel>

0 commit comments

Comments
 (0)