Skip to content

Commit

Permalink
[CN-2388] test child sending status data to parent component
Browse files Browse the repository at this point in the history
  • Loading branch information
Abel Rodriguez committed Jun 13, 2023
1 parent 83d320f commit f6370ae
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ export const PipelineExecutions = ({ appName, pipeline, parameters, status, date
statusCount[execution.status]++;
}

onStatusChange(statusCount)
console.log("getExecutions");
console.log(statusCount);
onStatusChange(statusCount);
});
}, [pipeline]);

Expand All @@ -78,7 +80,9 @@ export const PipelineExecutions = ({ appName, pipeline, parameters, status, date
statusCount[execution.status]++;
}

onStatusChange(statusCount)
console.log("useInterval");
console.log(statusCount);
onStatusChange(statusCount);

}, POLL_DELAY_MS);

Expand Down

0 comments on commit f6370ae

Please sign in to comment.