Skip to content

Commit 03aa239

Browse files
committed
fix(terminal): add activeWorkflowId to auto-open effect deps
1 parent 2dceaa1 commit 03aa239

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal

1 file changed

+1
-1
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal/terminal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ export const Terminal = memo(function Terminal() {
10481048
}
10491049

10501050
prevWorkflowEntriesLengthRef.current = currentLength
1051-
}, [allWorkflowEntries.length, expandToLastHeight, openOnRun, isExpanded, hasConsoleHydrated])
1051+
}, [allWorkflowEntries.length, expandToLastHeight, openOnRun, isExpanded, hasConsoleHydrated, activeWorkflowId])
10521052

10531053
/**
10541054
* Handle row click - toggle if clicking same entry

0 commit comments

Comments
 (0)