Skip to content

Commit ce03885

Browse files
committed
reorder dropdown
1 parent cc35541 commit ce03885

File tree

1 file changed

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

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,12 @@ export const Panel = memo(function Panel() {
423423
<Layout className='h-3 w-3' animate={isAutoLayouting} variant='clockwise' />
424424
<span>Auto layout</span>
425425
</PopoverItem>
426+
{
427+
<PopoverItem onClick={() => setVariablesOpen(!isVariablesOpen)}>
428+
<VariableIcon className='h-3 w-3' />
429+
<span>Variables</span>
430+
</PopoverItem>
431+
}
426432
{userPermissions.canAdmin && !isSnapshotView && (
427433
<PopoverItem onClick={handleToggleWorkflowLock} disabled={!hasBlocks}>
428434
{allBlocksLocked ? (
@@ -433,12 +439,6 @@ export const Panel = memo(function Panel() {
433439
<span>{allBlocksLocked ? 'Unlock workflow' : 'Lock workflow'}</span>
434440
</PopoverItem>
435441
)}
436-
{
437-
<PopoverItem onClick={() => setVariablesOpen(!isVariablesOpen)}>
438-
<VariableIcon className='h-3 w-3' />
439-
<span>Variables</span>
440-
</PopoverItem>
441-
}
442442
{/* <PopoverItem>
443443
<Bug className='h-3 w-3' />
444444
<span>Debug</span>

0 commit comments

Comments
 (0)