diff --git a/apps/sim/app/w/[id]/components/control-bar/components/deployment-controls/components/deployed-workflow-card.tsx b/apps/sim/app/w/[id]/components/control-bar/components/deployment-controls/components/deployed-workflow-card.tsx index 3d3a05329d..4caa779d83 100644 --- a/apps/sim/app/w/[id]/components/control-bar/components/deployment-controls/components/deployed-workflow-card.tsx +++ b/apps/sim/app/w/[id]/components/control-bar/components/deployment-controls/components/deployed-workflow-card.tsx @@ -3,6 +3,8 @@ import { useState, useEffect, useMemo } from 'react' import { Button } from '@/components/ui/button' import { Card, CardContent, CardHeader } from '@/components/ui/card' +import { Switch } from '@/components/ui/switch' +import { Label } from '@/components/ui/label' import { cn } from '@/lib/utils' import { createLogger } from '@/lib/logs/console-logger' import { WorkflowPreview } from '@/app/w/components/workflow-preview/workflow-preview' @@ -114,16 +116,22 @@ export function DeployedWorkflowCard({ {showingDeployed ? 'Deployed Workflow' : 'Current Workflow'} {/* Controls */} -
+
{/* Version toggle - only show if there's a current version */} {currentWorkflowState && ( - +
+ + + +
)}