3681 avatars are not appearing in the messages and people name should be bold (#3692)
* update font weight * fix picture not appearing
This commit is contained in:
@ -52,10 +52,13 @@ export const getObjectRecordIdentifier = ({
|
||||
? 'squared'
|
||||
: 'rounded';
|
||||
|
||||
// TODO: This is a temporary solution before we seed imageIdentifierFieldMetadataId in the database
|
||||
const avatarUrl =
|
||||
(objectMetadataItem.nameSingular === CoreObjectNameSingular.Company
|
||||
? getLogoUrlFromDomainName(record['domainName'] ?? '')
|
||||
: imageIdentifierFieldValue) ?? '';
|
||||
: objectMetadataItem.nameSingular === CoreObjectNameSingular.Person
|
||||
? record['avatarUrl'] ?? ''
|
||||
: imageIdentifierFieldValue) ?? '';
|
||||
|
||||
const basePathToShowPage = getBasePathToShowPage({
|
||||
objectMetadataItem,
|
||||
|
||||
Reference in New Issue
Block a user