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:
+3
-3
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user