Skip to content

Commit ae399db

Browse files
TD-4755 My Account - Active value is listed as one of the Admin roles
1 parent 97783c5 commit ae399db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web/Controllers/MyAccountController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ DlsSubApplication dlsSubApplication
588588
{
589589
var adminentity = new AdminEntity(adminAccount, userEntity.UserAccount, null);
590590
CultureInfo currentCulture = System.Threading.Thread.CurrentThread.CurrentCulture;
591-
roles = FilterableTagHelper.GetCurrentTagsForAdmin(adminentity).Where(s => s.Hidden == false)
591+
roles = FilterableTagHelper.GetCurrentTagsForAdmin(adminentity).Where(s => s.Hidden == false && s.DisplayText != "Active")
592592
.Select(d => d.DisplayText).ToList<string>();
593593
}
594594
return roles;

0 commit comments

Comments
 (0)