only show reports from the last 24 hours
This commit is contained in:
parent
ff0d22c142
commit
91c46dbdd4
@ -327,7 +327,7 @@ namespace WebfrontCore.Controllers
|
||||
new ServerInfo
|
||||
{
|
||||
Name = server.Hostname,
|
||||
Reports = server.Reports
|
||||
Reports = server.Reports.Where(report => (DateTime.UtcNow - report.ReportedOn).TotalHours <= 24).ToList()
|
||||
});
|
||||
|
||||
return View("Partials/_Reports", serverInfo);
|
||||
|
Loading…
Reference in New Issue
Block a user