Select node by default when pending form action (#11378)

We want the run side panel to be open when the form step is pending



https://github.com/user-attachments/assets/a7a7015e-b0b7-422a-b625-eca8f2614ac1
This commit is contained in:
Thomas Trompette
2025-04-04 15:56:57 +02:00
committed by GitHub
parent 59e8e0633b
commit 6b184cc641
4 changed files with 24 additions and 5 deletions
@@ -29,11 +29,11 @@ export const WorkflowRunVisualizerEffect = ({
}, [setWorkflowRunId, workflowRunId]);
useEffect(() => {
if (!isDefined(workflowVersion)) {
if (!isDefined(workflowRun)) {
return;
}
setWorkflowId(workflowVersion.workflowId);
}, [setWorkflowId, workflowVersion]);
setWorkflowId(workflowRun.workflowId);
}, [setWorkflowId, workflowRun]);
useEffect(() => {
if (!isDefined(workflowRun?.output)) {