fix tooltip of glossaryTerms in entity page (#16482)

This commit is contained in:
Ashish Gupta 2024-06-01 14:05:30 +05:30 committed by GitHub
parent 1c061de701
commit cb488c62ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -279,7 +279,10 @@ const TagsContainerV2 = ({
<Col>
<Tooltip
title={t('label.edit-entity', {
entity: t('label.tag-plural'),
entity:
tagType === TagSource.Classification
? t('label.tag-plural')
: t('label.glossary-term'),
})}>
<EditIcon
className="cursor-pointer align-middle"
@ -319,7 +322,10 @@ const TagsContainerV2 = ({
permission && !isEmpty(tags?.[tagType]) ? (
<Tooltip
title={t('label.edit-entity', {
entity: t('label.tag-plural'),
entity:
tagType === TagSource.Classification
? t('label.tag-plural')
: t('label.glossary-term'),
})}>
<Button
className="hover-cell-icon cursor-pointer align-middle p-0"