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,
}}
owners={details?.assignee ? [details.assignee] : []}
placeHolder={t('label.no-entity', {
entity: t('label.assignee'),
})}
placeHolder={t('label.assignee')}
tooltipText={t('label.edit-entity', {
entity: t('label.assignee'),
})}

View File

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