Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Task details not showing in UI #3459

Merged
merged 1 commit into from
Jan 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ui/src/components/diagram/WorkflowGraph.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ class WorkflowGraph extends React.Component {
};

handleClick = (e) => {
const taskRef = e.path[1].id || e.path[2].id; // could be 2 layers down
const taskRef = e.composedPath()[1].id || e.composedPath()[2].id; // could be 2 layers down
const node = this.graph.node(taskRef);
if (node.type === "DF_TASK_PLACEHOLDER") {
if (this.props.onClick) this.props.onClick({ ref: node.firstDfRef });
Expand Down