Skip to content

Commit 0a08fee

Browse files
committed
ack comment
1 parent 2233606 commit 0a08fee

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

apps/sim/app/workspace/[workspaceId]/w/components/preview/components/block.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function WorkflowPreviewBlockInner({ data }: NodeProps<WorkflowPreviewBlockData>
4646
return blockConfig.subBlocks.filter((subBlock) => {
4747
if (subBlock.hidden) return false
4848
if (subBlock.hideFromPreview) return false
49-
if (subBlock.mode === 'trigger') return false
49+
if (subBlock.mode === 'trigger' && blockConfig.category !== 'triggers') return false
5050
if (subBlock.mode === 'advanced') return false
5151
return true
5252
})

0 commit comments

Comments
 (0)