Add real name col / citizen name prop (#12)
Still need to work on allowing the column to be edited
This commit is contained in:
@@ -8,8 +8,15 @@ namespace JobsJobsJobs.Shared
|
||||
public record Citizen(
|
||||
CitizenId Id,
|
||||
string NaUser,
|
||||
string DisplayName,
|
||||
string? DisplayName,
|
||||
string? RealName,
|
||||
string ProfileUrl,
|
||||
Instant JoinedOn,
|
||||
Instant LastSeenOn);
|
||||
Instant LastSeenOn)
|
||||
{
|
||||
/// <summary>
|
||||
/// The user's name by which they should be known
|
||||
/// </summary>
|
||||
public string CitizenName => RealName ?? DisplayName ?? NaUser;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user