fixed owner label (#21085)

This commit is contained in:
Dhruv Parmar 2025-05-10 11:09:08 +05:30 committed by Shailesh Parmar
parent 76136d8dea
commit fc0f84f41b
2 changed files with 6 additions and 5 deletions

View File

@ -284,9 +284,7 @@ const IncidentManagerPageHeader = ({
team: false, team: false,
}} }}
owners={details?.assignee ? [details.assignee] : []} owners={details?.assignee ? [details.assignee] : []}
placeHolder={t('label.no-entity', { placeHolder={t('label.assignee')}
entity: t('label.assignee'),
})}
tooltipText={t('label.edit-entity', { tooltipText={t('label.edit-entity', {
entity: t('label.assignee'), entity: t('label.assignee'),
})} })}

View File

@ -86,8 +86,11 @@ export const NoOwnerFound: React.FC<NoOwnerFoundProps> = ({
{!isCompactView && ( {!isCompactView && (
<div className="no-owner-text text-sm font-medium"> <div className="no-owner-text text-sm font-medium">
{placeHolder ?? {placeHolder
t('label.no-entity', { entity: t('label.owner-plural') })} ? showLabel
? t('label.no-entity', { entity: placeHolder })
: placeHolder
: t('label.no-entity', { entity: t('label.owner-plural') })}
</div> </div>
)} )}
</div> </div>