Label fix

This commit is contained in:
Kanav Arora 2024-02-14 18:53:01 +05:30
parent 47d7e19570
commit 1233b58099
2 changed files with 5 additions and 4 deletions

View File

@ -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}

View File

@ -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)};
@ -141,7 +141,7 @@ export const RecordInlineCellContainer = ({
onMouseEnter={handleContainerMouseEnter}
onMouseLeave={handleContainerMouseLeave}
>
{(!!IconLabel || !!label) && (
{(IconLabel || label) && (
<StyledLabelAndIconContainer id={labelId}>
{IconLabel && (
<StyledIconContainer>
@ -160,7 +160,7 @@ export const RecordInlineCellContainer = ({
content={label}
clickable
noArrow
place="left"
place="bottom"
positionStrategy="fixed"
/>
)}