Skip to content

Commit c07dbfa

Browse files
committed
don't show dup button for response
1 parent a293044 commit c07dbfa

File tree

1 file changed

+2
-2
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/action-bar

1 file changed

+2
-2
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/action-bar/action-bar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ export const ActionBar = memo(
8787

8888
const userPermissions = useUserPermissionsContext()
8989

90-
// Check for start_trigger (unified start block) - prevent duplication but allow deletion
9190
const isStartBlock = blockType === 'starter' || blockType === 'start_trigger'
91+
const isResponseBlock = blockType === 'response'
9292
const isNoteBlock = blockType === 'note'
9393

9494
/**
@@ -140,7 +140,7 @@ export const ActionBar = memo(
140140
</Tooltip.Root>
141141
)}
142142

143-
{!isStartBlock && (
143+
{!isStartBlock && !isResponseBlock && (
144144
<Tooltip.Root>
145145
<Tooltip.Trigger asChild>
146146
<Button

0 commit comments

Comments
 (0)