NET8
This commit is contained in:
@ -478,9 +478,9 @@
|
||||
|
||||
<div class="panel-body bg-warning">
|
||||
<div class="col-sm-offset-0">
|
||||
@if (Session[GlobalVars.IS_ADMIN] != null)
|
||||
@if (GlobalVars.IsAdminValueNotNull(Session))
|
||||
{
|
||||
if ((bool)Session[GlobalVars.IS_ADMIN] && (Request.IsAuthenticated))
|
||||
if (GlobalVars.IsAdmin(Session) && (Request.IsAuthenticated))
|
||||
{
|
||||
@(Html.Kendo().Grid<Fab2ApprovalSystem.ViewModels.ApproversListViewModel>()
|
||||
.Name("ApproversList")
|
||||
|
Reference in New Issue
Block a user