Skip to content

Commit

Permalink
refactor(ui): Added Cursor pointer to tags (#5389)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankit-Keshari-Vituity authored Jul 15, 2022
1 parent cd14768 commit ab54925
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 @@ -199,7 +199,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 @@ -209,6 +209,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 @@ -232,6 +233,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 ab54925

Please sign in to comment.