diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/editor.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/editor.tsx index e2ed145ed..742e17c0c 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/editor.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/editor.tsx @@ -11,6 +11,7 @@ import { Loader2, Lock, Pencil, + Unlock, } from 'lucide-react' import { useParams } from 'next/navigation' import { useShallow } from 'zustand/react/shallow' @@ -227,6 +228,7 @@ export function Editor() { collaborativeSetBlockCanonicalMode, collaborativeUpdateBlockName, collaborativeToggleBlockAdvancedMode, + collaborativeBatchToggleLocked, } = useCollaborativeWorkflow() // Advanced mode toggle handler @@ -366,16 +368,27 @@ export function Editor() { )}
Block is locked
+{userPermissions.canAdmin ? 'Unlock block' : 'Block is locked'}