Genesis tool box shows 'Options' when username is null or white space

This commit is contained in:
Stoyan Zlatev 2023-09-13 09:58:01 +02:00
parent df3a7f5449
commit bd9ef25cd5

View File

@ -59,6 +59,11 @@
{
UserName = $"{model.FirstName} {model.LastName}";
}
if (string.IsNullOrWhiteSpace(UserName))
{
UserName = "Options";
}
}
/// <summary>
@ -99,6 +104,11 @@
}
}
if (string.IsNullOrWhiteSpace(UserName))
{
UserName = "Options";
}
return HasUser;
}