Genesis tool box shows 'Options' when username is null or white space
This commit is contained in:
parent
df3a7f5449
commit
bd9ef25cd5
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user