modify iw6x parser to default game log vars temporarily, small amount of code cleanup to git rid of warnings

This commit is contained in:
RaidMax
2020-11-12 20:39:56 -06:00
parent e997b94b3b
commit 6619ce714a
7 changed files with 37 additions and 8 deletions

View File

@ -14,7 +14,7 @@ namespace WebfrontCore.ViewComponents
var penalties = await Program.Manager.GetPenaltyService().GetRecentPenalties(PENALTY_COUNT, offset, showOnly, ignoreAutomated);
penalties = User.Identity.IsAuthenticated ? penalties : penalties.Where(p => !p.Sensitive).ToList();
return View("_List", penalties);
return View("~/Views/Penalty/PenaltyInfoList.cshtml", penalties);
}
}
}