Skip to content

Commit 028508b

Browse files
katarina-calakresimir-coko
authored andcommitted
1652-add workflowNodeName to cluster elements in the UI to distinguish multiple connections more easily
1 parent 5ff394c commit 028508b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

client/src/pages/platform/workflow-editor/nodes/WorkflowNode.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ const WorkflowNode = ({data, id}: {data: NodeDataType; id: string}) => {
235235
hideTaskDispatchers={!!data.clusterElementType}
236236
hideTriggerComponents
237237
sourceNodeId={data.clusterElementType && parentClusterRootId ? parentClusterRootId : id}
238+
sourceNodeName={data.workflowNodeName}
238239
>
239240
<Button
240241
className="bg-white p-2 shadow-md hover:text-blue-500 hover:shadow-sm"
@@ -345,7 +346,7 @@ const WorkflowNode = ({data, id}: {data: NodeDataType; id: string}) => {
345346
<pre className={twMerge('text-sm', isClusterElement && 'text-xs')}>{data.operationName}</pre>
346347
)}
347348

348-
{!isClusterElement && <span className="text-sm text-gray-500">{data.workflowNodeName}</span>}
349+
<span className="text-sm text-gray-500">{data.workflowNodeName}</span>
349350
</div>
350351
)}
351352

0 commit comments

Comments
 (0)