fix ui breaking on column task thread select and user profile display name (#12586)

This commit is contained in:
Ashish Gupta 2023-07-28 14:41:01 +05:30 committed by GitHub
parent 50fb66c8dc
commit f7e07ad694
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -236,7 +236,7 @@ const ActivityThreadPanelBody: FC<ActivityThreadPanelBodyProp> = ({
{showHeader && isConversationType && (
<FeedPanelHeader
className="tw-px-4 tw-shadow-sm"
entityLink={selectedThread?.about ?? ''}
entityLink={selectedThread?.about ?? threadLink}
noun={
isConversationType
? t('label.conversation-plural')

View File

@ -111,7 +111,7 @@ const UserProfileDetails = ({
className="text-lg font-medium"
ellipsis={{ tooltip: true }}>
{hasEditPermission
? userData.displayName ??
? userData.displayName ||
t('label.add-entity', { entity: t('label.display-name') })
: getEntityName(userData)}
</Typography.Text>