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 3098eaa commit 0b93535Copy full SHA for 0b93535
DigitalLearningSolutions.Web/ViewModels/TrackingSystem/Centre/Administrator/SearchableAdminViewModel.cs
@@ -17,7 +17,8 @@ ReturnPageQuery returnPageQuery
17
)
18
{
19
Id = admin.AdminAccount.Id;
20
- Name = admin.SearchableName;
+ Name = string.IsNullOrWhiteSpace(admin.UserAccount.FirstName) ? admin.UserAccount.LastName :
21
+ $"{admin.UserAccount.LastName}, {admin.UserAccount.FirstName}";
22
CategoryName = admin.AdminAccount.CategoryName ?? "All";
23
EmailAddress = admin.EmailForCentreNotifications;
24
IsLocked = admin.UserAccount.FailedLoginCount >= AuthHelper.FailedLoginThreshold;
0 commit comments