File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/action-bar Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ export const ActionBar = memo(
128128 'dark:border-transparent dark:bg-[var(--surface-4)]'
129129 ) }
130130 >
131- { ! isNoteBlock && ! isSubflowBlock && (
131+ { ! isNoteBlock && (
132132 < Tooltip . Root >
133133 < Tooltip . Trigger asChild >
134134 < Button
@@ -222,29 +222,6 @@ export const ActionBar = memo(
222222 </ Tooltip . Root >
223223 ) }
224224
225- { isSubflowBlock && (
226- < Tooltip . Root >
227- < Tooltip . Trigger asChild >
228- < Button
229- variant = 'ghost'
230- onClick = { ( e ) => {
231- e . stopPropagation ( )
232- if ( ! disabled ) {
233- collaborativeBatchToggleBlockEnabled ( [ blockId ] )
234- }
235- } }
236- className = { ACTION_BUTTON_STYLES }
237- disabled = { disabled }
238- >
239- { isEnabled ? < Circle className = { ICON_SIZE } /> : < CircleOff className = { ICON_SIZE } /> }
240- </ Button >
241- </ Tooltip . Trigger >
242- < Tooltip . Content side = 'top' >
243- { getTooltipMessage ( isEnabled ? 'Disable Block' : 'Enable Block' ) }
244- </ Tooltip . Content >
245- </ Tooltip . Root >
246- ) }
247-
248225 < Tooltip . Root >
249226 < Tooltip . Trigger asChild >
250227 < Button
You can’t perform that action at this time.
0 commit comments