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:
Aine 2024-09-03 11:48:43 +03:00 committed by GitHub
commit 311cc2a1f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -235,7 +235,7 @@ const UserTitle = () => {
{translate("resources.users.name", { {translate("resources.users.name", {
smart_count: 1, smart_count: 1,
})}{" "} })}{" "}
{record ? `"${record.displayname}"` : ""} {record ? ( record.displayname ? `"${record.displayname}"` : `"${record.name}"`) : ""}
</span> </span>
); );
}; };