mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-11-21 15:25:22 +03:00
Merge pull request #9 from etkecc/fix-user-names-in-header
Fix user's display name in header on user's page
This commit is contained in:
commit
311cc2a1f4
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ const UserTitle = () => {
|
|||
{translate("resources.users.name", {
|
||||
smart_count: 1,
|
||||
})}{" "}
|
||||
{record ? `"${record.displayname}"` : ""}
|
||||
{record ? ( record.displayname ? `"${record.displayname}"` : `"${record.name}"`) : ""}
|
||||
</span>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue