Fixed condition for unreachable server

This commit is contained in:
amdnaji 2024-04-16 10:12:12 +00:00
parent 5baf12646a
commit b8bf339a04

View File

@ -29,7 +29,7 @@
<div class="small-box text-bg-danger">
<div class="inner">
<p>Unreachable servers</p>
<h3>@Model.Where(s => s.IsReachable).Count()</h3>
<h3>@Model.Where(s => !s.IsReachable).Count()</h3>
</div>
<svg class="small-box-icon" fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path d="M4.5 5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M3 4.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0" />