Skip to content

Commit

Permalink
Merge pull request #9 from etkecc/fix-user-names-in-header
Browse files Browse the repository at this point in the history
Fix user's display name in header on user's page
  • Loading branch information
aine-etke authored Sep 3, 2024
2 parents 50c96cf + 6bc760a commit 311cc2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/users.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ const UserTitle = () => {
{translate("resources.users.name", {
smart_count: 1,
})}{" "}
{record ? `"${record.displayname}"` : ""}
{record ? ( record.displayname ? `"${record.displayname}"` : `"${record.name}"`) : ""}
</span>
);
};
Expand Down

0 comments on commit 311cc2a

Please sign in to comment.