1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

clean up report dropdown

This commit is contained in:
RaidMax
2022-04-22 15:14:23 -05:00
parent fa6741c9b1
commit 001a7a4601
2 changed files with 3 additions and 3 deletions

View File

@ -7,10 +7,10 @@
<div class="content-title">Recent Reports</div>
<div class="text-muted">Last 24 hours</div>
@foreach (var server in Model)
@foreach (var server in Model.Where(server => server.Reports.Any()))
{
<div class="rounded bg-very-dark-dm bg-light-ex-lm mt-10 mb-10 p-10">
<h5 class="mt-0 text-truncate">
<h5 class="mt-0 mb-5 text-truncate">
<color-code value="@server.Name"></color-code>
</h5>
@foreach (var report in server.Reports.OrderByDescending(report => report.ReportedOn))