AboutContactModal: Use systemGivenName for contact before firstName

This commit is contained in:
Scott Nonnenberg 2024-03-18 17:46:47 -07:00 committed by GitHub
parent 53ae88c777
commit 28eaf1689f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -178,7 +178,10 @@ export function AboutContactModal({
<div className="AboutContactModal__row">
<i className="AboutContactModal__row__icon AboutContactModal__row__icon--person" />
{i18n('icu:AboutContactModal__system-contact', {
name: conversation.firstName || conversation.title,
name:
conversation.systemGivenName ||
conversation.firstName ||
conversation.title,
})}
</div>
) : null}