We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e94be8 commit e4c2e2aCopy full SHA for e4c2e2a
DigitalLearningSolutions.Web/Views/SuperAdmin/Users/UserCentreAccounts.cshtml
@@ -52,11 +52,11 @@
52
<td role="cell" class="nhsuk-table__cell choose-centre-td">
53
<span class="nhsuk-table-responsive__heading">Roles: </span>
54
<div class="centre-role-tags">
55
- @if (centreRow.IsActiveAdmin)
+ @if (Model.UserEntity.AdminAccounts.Any())
56
{
57
foreach (var admin in Model.UserEntity.AdminAccounts)
58
59
- if (centreRow.CentreId==admin.CentreId)
+ if (centreRow.CentreId == admin.CentreId)
60
61
<a asp-action="RedirectToAdmin" asp-route-AdminId="@admin.Id">Admin</a>
62
}
0 commit comments