From c3902898fa06558d60bba68fa6ac386252f3318f Mon Sep 17 00:00:00 2001 From: Jenny <32821331+jenny-s51@users.noreply.github.com> Date: Mon, 3 Jun 2024 15:24:17 -0400 Subject: [PATCH] feat(pipelines): support customStatusIcon --- .../src/demos/pipelinesDemo/useDemoPipelineNodes.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/demo-app-ts/src/demos/pipelinesDemo/useDemoPipelineNodes.tsx b/packages/demo-app-ts/src/demos/pipelinesDemo/useDemoPipelineNodes.tsx index bfaea95f..96f7be21 100644 --- a/packages/demo-app-ts/src/demos/pipelinesDemo/useDemoPipelineNodes.tsx +++ b/packages/demo-app-ts/src/demos/pipelinesDemo/useDemoPipelineNodes.tsx @@ -287,14 +287,13 @@ export const useDemoPipelineNodes = ( taskType: 'java', taskTopic: 'Environment', columnGroup: (TASK_STATUSES.length % STATUS_PER_ROW) + 1 - // taskJobType: 'link' }; if (!layout) { const row = Math.ceil((TASK_STATUSES.length + 1) / STATUS_PER_ROW) - 1; const columnWidth = COLUMN_WIDTH + (showIcons ? 15 : 0) + (showBadges ? 32 : 0) + (showContextMenu ? 20 : 0); - iconTask2.x = (showIcons ? 28 : 0) + 2 * columnWidth; - iconTask2.y = GRAPH_MARGIN_TOP + row * ROW_HEIGHT; + iconTask3.x = (showIcons ? 28 : 0) + 3 * columnWidth; + iconTask3.y = GRAPH_MARGIN_TOP + row * ROW_HEIGHT; } tasks.push(iconTask3);