diff --git a/modules/permission-management/src/Volo.Abp.PermissionManagement.Web/Pages/AbpPermissionManagement/PermissionManagementModal.cshtml b/modules/permission-management/src/Volo.Abp.PermissionManagement.Web/Pages/AbpPermissionManagement/PermissionManagementModal.cshtml index dd2c73eb23..6d573b2ecb 100644 --- a/modules/permission-management/src/Volo.Abp.PermissionManagement.Web/Pages/AbpPermissionManagement/PermissionManagementModal.cshtml +++ b/modules/permission-management/src/Volo.Abp.PermissionManagement.Web/Pages/AbpPermissionManagement/PermissionManagementModal.cshtml @@ -20,25 +20,28 @@ @for (var i = 0; i < Model.Groups.Count; i++) { - -

@Model.Groups[i].DisplayName

+ var group = Model.Groups[i]; + +

@group.DisplayName


-
- @for (var j = 0; j < Model.Groups[i].Permissions.Count; j++) + @for (var j = 0; j < group.Permissions.Count; j++) { - - + var permission = group.Permissions[j]; + + }