Skip to content

Commit a87f9a0

Browse files
TD-4383 Removing of Active from the Admin role list
1 parent bbb9d4f commit a87f9a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web/Controllers/TrackingSystem/Delegates/DeactivateDelegateController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public IActionResult Index(DeactivateDelegateAccountViewModel deactivateDelegate
8686
if (adminAccount != null)
8787
{
8888
var adminentity = new AdminEntity(adminAccount, userEntity.UserAccount, null);
89-
roles = FilterableTagHelper.GetCurrentTagsForAdmin(adminentity).Where(s => s.Hidden == false)
89+
roles = FilterableTagHelper.GetCurrentTagsForAdmin(adminentity).Where(s => s.Hidden == false && s.DisplayText != "Active")
9090
.Select(d => d.DisplayText).ToList<string>();
9191
}
9292
return roles;

0 commit comments

Comments
 (0)