diff --git a/WebfrontCore/Views/Client/Profile/Meta/_ReceivedPenaltyResponse.cshtml b/WebfrontCore/Views/Client/Profile/Meta/_ReceivedPenaltyResponse.cshtml index 90e26d65..30809f3f 100644 --- a/WebfrontCore/Views/Client/Profile/Meta/_ReceivedPenaltyResponse.cshtml +++ b/WebfrontCore/Views/Client/Profile/Meta/_ReceivedPenaltyResponse.cshtml @@ -24,7 +24,7 @@ else if (match.MatchValue == "punisher") { - + diff --git a/WebfrontCore/Views/Shared/Partials/_Reports.cshtml b/WebfrontCore/Views/Shared/Partials/_Reports.cshtml index dfac5f44..b94dd797 100644 --- a/WebfrontCore/Views/Shared/Partials/_Reports.cshtml +++ b/WebfrontCore/Views/Shared/Partials/_Reports.cshtml @@ -7,10 +7,10 @@
Recent Reports
Last 24 hours
-@foreach (var server in Model) +@foreach (var server in Model.Where(server => server.Reports.Any())) {
-
+
@foreach (var report in server.Reports.OrderByDescending(report => report.ReportedOn))