1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

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 f5c2f92652
commit 057de452e7
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);
}
}
}