Skip to content

Commit

Permalink
Label fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanav-Arora committed Feb 14, 2024
1 parent 47d7e19 commit 1233b58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ export const ActivityTargetsInlineCell = ({
scope: ActivityEditorHotkeyScope.ActivityTargets,
}}
IconLabel={IconArrowUpRight}
showLabel={true}
editModeContent={
<ActivityTargetInlineCellEditMode
activity={activity}
activityTargetObjectRecords={activityTargetObjectRecords}
/>
}
label="Relations"
label="Relations:"
displayModeContent={
<ActivityTargetChips
activityTargetObjectRecords={activityTargetObjectRecords}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const StyledClickableContainer = styled.div`
const StyledInlineCellBaseContainer = styled.div`
align-items: center;
box-sizing: border-box;
width: 100%;
display: flex;
gap: ${({ theme }) => theme.spacing(1)};
Expand Down Expand Up @@ -141,7 +141,7 @@ export const RecordInlineCellContainer = ({
onMouseEnter={handleContainerMouseEnter}
onMouseLeave={handleContainerMouseLeave}
>
{(!!IconLabel || !!label) && (
{(IconLabel || label) && (
<StyledLabelAndIconContainer id={labelId}>
{IconLabel && (
<StyledIconContainer>
Expand All @@ -160,7 +160,7 @@ export const RecordInlineCellContainer = ({
content={label}
clickable
noArrow
place="left"
place="bottom"
positionStrategy="fixed"
/>
)}
Expand Down

0 comments on commit 1233b58

Please sign in to comment.