Skip to content

Commit

Permalink
Merge pull request #2163 from robertbasti/main
Browse files Browse the repository at this point in the history
Grouping of Edit disabled with subitem enabled #2159
  • Loading branch information
robertbasti authored Nov 30, 2023
2 parents 324d0e4 + 741b1b1 commit 39d3ae2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const LogObjectContextMenu = (props: ObjectContextMenuProps): React.ReactElement
<StyledIcon name="paste" color={colors.interactive.primaryResting} />
<Typography color={"primary"}>{menuItemText("paste", "log curve", logCurvesReference?.componentUids)}</Typography>
</MenuItem>,
<NestedMenuItem key={"editlognestedmenu"} label={"Edit"} disabled={checkedObjects.length !== 1} icon="edit">
<NestedMenuItem key={"editlognestedmenu"} label={"Edit"} icon="edit">
{[
<MenuItem key={"trimlogobject"} onClick={onClickTrimLogObject} disabled={checkedObjects.length !== 1}>
<StyledIcon name="formatLine" color={colors.interactive.primaryResting} />
Expand Down

0 comments on commit 39d3ae2

Please sign in to comment.