Skip to content

Commit d45324b

Browse files
authored
fix(sidebar): draggable cursor on sidebar when switching workflows (#1276)
1 parent a0bb754 commit d45324b

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/folder-tree/components

1 file changed

+1
-1
lines changed

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/folder-tree/components/workflow-item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export function WorkflowItem({
128128
}
129129

130130
const handleClick = (e: React.MouseEvent) => {
131-
if (dragStartedRef.current || isEditing) {
131+
if (isDragging || isEditing) {
132132
e.preventDefault()
133133
return
134134
}

0 commit comments

Comments
 (0)