Skip to content

Commit

Permalink
remove directional condition, fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny-s51 committed Apr 5, 2024
1 parent 41cd7f4 commit fef9725
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 0 additions & 3 deletions frontend/src/concepts/topology/TaskEdge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,11 @@ const TaskEdge: React.FunctionComponent<TaskEdgeProps> = ({
d={integralShapePath(startPoint, endPoint, startIndent, nodeSeparation, verticalLayout)}
shapeRendering="geometricPrecision"
/>

{element.getTarget().getType() !== DEFAULT_SPACER_NODE_TYPE ? (
<ConnectorArrow

Check failure on line 38 in frontend/src/concepts/topology/TaskEdge.tsx

View workflow job for this annotation

GitHub Actions / Tests (18.x)

Delete `··`
className={styles.topologyEdge}

Check failure on line 39 in frontend/src/concepts/topology/TaskEdge.tsx

View workflow job for this annotation

GitHub Actions / Tests (18.x)

Delete `··`
startPoint={endPoint.clone().translate(0, -1)}

Check failure on line 40 in frontend/src/concepts/topology/TaskEdge.tsx

View workflow job for this annotation

GitHub Actions / Tests (18.x)

Replace `··········` with `········`
endPoint={endPoint}

Check failure on line 41 in frontend/src/concepts/topology/TaskEdge.tsx

View workflow job for this annotation

GitHub Actions / Tests (18.x)

Delete `··`
/>

Check failure on line 42 in frontend/src/concepts/topology/TaskEdge.tsx

View workflow job for this annotation

GitHub Actions / Tests (18.x)

Delete `··`
) : null}
</g>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ const StandardTaskNode: React.FunctionComponent<StandardTaskNodeProps> = ({
) : null;

return (
<Layer id={detailsLevel !== ScaleDetailsLevel.high && hover ? TOP_LAYER : DEFAULT_LAYER}>
<g ref={hoverRef as React.LegacyRef<SVGGElement>}>
<g ref={hoverRef as React.LegacyRef<SVGGElement>}>
<TaskNode

Check failure on line 40 in frontend/src/concepts/topology/customNodes/StandardTaskNode.tsx

View workflow job for this annotation

GitHub Actions / Tests (18.x)

Delete `··`
element={element}
onSelect={onSelect}
Expand All @@ -57,8 +56,7 @@ const StandardTaskNode: React.FunctionComponent<StandardTaskNodeProps> = ({
>
{whenDecorator}
</TaskNode>
</g>
</Layer>
</g>
);
};

Expand Down

0 comments on commit fef9725

Please sign in to comment.