Skip to content

Commit

Permalink
Added Cursor pointer to tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankit-Keshari-Vituity committed Jul 13, 2022
1 parent 9ec4fba commit c21523a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion datahub-web-react/src/app/shared/tags/TagTermGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export default function TagTermGroup({
to={entityRegistry.getEntityUrl(EntityType.GlossaryTerm, term.term.urn)}
key={term.term.urn}
>
<Tag closable={false}>
<Tag closable={false} style={{ cursor: 'pointer' }}>
<BookOutlined style={{ marginRight: '3%' }} />
{entityRegistry.getDisplayName(EntityType.GlossaryTerm, term.term)}
</Tag>
Expand All @@ -202,6 +202,7 @@ export default function TagTermGroup({
{editableGlossaryTerms?.terms?.map((term) => (
<TermLink to={entityRegistry.getEntityUrl(EntityType.GlossaryTerm, term.term.urn)} key={term.term.urn}>
<Tag
style={{ cursor: 'pointer' }}
closable={canRemove}
onClose={(e) => {
e.preventDefault();
Expand All @@ -225,6 +226,7 @@ export default function TagTermGroup({
return (
<TagLink key={tag?.tag?.urn}>
<StyledTag
style={{ cursor: 'pointer' }}
onClick={() => showTagProfileDrawer(tag?.tag?.urn)}
$colorHash={tag?.tag?.urn}
$color={tag?.tag?.properties?.colorHex}
Expand Down

0 comments on commit c21523a

Please sign in to comment.