diff --git a/front/src/modules/ui/chip/components/EntityChip.tsx b/front/src/modules/ui/chip/components/EntityChip.tsx index f18f7bc0f..c2865c4f4 100644 --- a/front/src/modules/ui/chip/components/EntityChip.tsx +++ b/front/src/modules/ui/chip/components/EntityChip.tsx @@ -4,6 +4,7 @@ import { Theme } from '@emotion/react'; import styled from '@emotion/styled'; import { Avatar, AvatarType } from '@/users/components/Avatar'; +import { isNonEmptyString } from '~/utils/isNonEmptyString'; import { OverflowingTextWithTooltip } from '../../tooltip/OverflowingTextWithTooltip'; @@ -89,26 +90,30 @@ export function EntityChip({ onClick={handleLinkClick} variant={variant} > - + {isNonEmptyString(name) && ( + + )} ) : ( - + {isNonEmptyString(name) && ( + + )}