diff --git a/DigitalLearningSolutions.Web/Controllers/TrackingSystem/Delegates/DeactivateDelegateController.cs b/DigitalLearningSolutions.Web/Controllers/TrackingSystem/Delegates/DeactivateDelegateController.cs index 42e1e231ae..c0493c085d 100644 --- a/DigitalLearningSolutions.Web/Controllers/TrackingSystem/Delegates/DeactivateDelegateController.cs +++ b/DigitalLearningSolutions.Web/Controllers/TrackingSystem/Delegates/DeactivateDelegateController.cs @@ -86,7 +86,7 @@ public IActionResult Index(DeactivateDelegateAccountViewModel deactivateDelegate if (adminAccount != null) { var adminentity = new AdminEntity(adminAccount, userEntity.UserAccount, null); - roles = FilterableTagHelper.GetCurrentTagsForAdmin(adminentity).Where(s => s.Hidden == false) + roles = FilterableTagHelper.GetCurrentTagsForAdmin(adminentity).Where(s => s.Hidden == false && s.DisplayText != "Active") .Select(d => d.DisplayText).ToList(); } return roles;