diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/subflows/subflow-node.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/subflows/subflow-node.tsx index 78a4c02718d..602ddd8b715 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/subflows/subflow-node.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/subflows/subflow-node.tsx @@ -75,7 +75,6 @@ export const SubflowNodeComponent = memo(({ data, id, selected }: NodeProps @@ -39,7 +38,6 @@ function createView( hasRing={false} ringStyles='' isRunning={isRunning} - isWorkflowRunning={isWorkflowRunning} isExecutionHighlighted={isExecutionHighlighted} Icon={TestIcon} iconBgColor='var(--surface-2)' @@ -130,7 +128,7 @@ describe('WorkflowBlockView action menu', () => { mountedRoots.add(root) mountedHosts.add(host) - act(() => root.render(createView(false, true, false, false, true))) + act(() => root.render(createView(false, true, false, false))) flushAnimationFrames() const actionMenuRoot = host.querySelector('.group.relative') @@ -149,7 +147,7 @@ describe('WorkflowBlockView action menu', () => { mountedRoots.add(root) mountedHosts.add(host) - act(() => root.render(createView(false, true, false, true, true))) + act(() => root.render(createView(false, true, false, true))) flushAnimationFrames() const actionMenuRoot = host.querySelector('.group.relative') diff --git a/packages/workflow-renderer/src/workflow-block/workflow-block-view.tsx b/packages/workflow-renderer/src/workflow-block/workflow-block-view.tsx index a7773745ff1..87e53e5964b 100644 --- a/packages/workflow-renderer/src/workflow-block/workflow-block-view.tsx +++ b/packages/workflow-renderer/src/workflow-block/workflow-block-view.tsx @@ -393,15 +393,6 @@ export interface WorkflowBlockViewProps { runPathStatus?: BlockRunStatus /** Whether execution controls are active for this block. */ isRunning?: boolean - /** - * Whether the parent workflow is executing. - * - * Accepted and currently unread: `workflow-block.tsx` supplies it and nothing - * below consults it, so the hold-open behavior this once claimed is not - * implemented. Kept in the interface because the caller passes it — wire it up - * or stop passing it, but do not read this as working today. - */ - isWorkflowRunning?: boolean /** Whether this block participates in the current execution handoff. */ isExecutionHighlighted?: boolean /** Block icon component and its background color. */