This commit is contained in:
RaidMax 2022-04-20 09:26:10 -05:00
parent dc45136077
commit 87361bf3d7

View File

@ -44,7 +44,7 @@
@{ var start = 0; } @{ var start = 0; }
@foreach (var meta in Model.OrderByDescending(meta => meta.When)) @foreach (var meta in Model.OrderByDescending(meta => meta.When))
{ {
if (lastHeaderEventDate - meta.When > TimeSpanForEvent(lastHeaderEventDate) && (start > 0 || (DateTime.UtcNow - meta.When).TotalDays > 3)) if (lastHeaderEventDate - meta.When > TimeSpanForEvent(lastHeaderEventDate))
{ {
TempData["ShowMetaHeader"] = true; TempData["ShowMetaHeader"] = true;
lastHeaderEventDate = meta.When; lastHeaderEventDate = meta.When;