diff --git a/WebfrontCore/Views/Client/Profile/Meta/_ReceivedPenaltyResponse.cshtml b/WebfrontCore/Views/Client/Profile/Meta/_ReceivedPenaltyResponse.cshtml index 90e26d65d..30809f3fb 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 dfac5f444..b94dd7974 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))