mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-09 23:17:59 -05:00
fix(sidebar): draggable cursor on sidebar when switching workflows (#1276)
This commit is contained in:
@@ -128,7 +128,7 @@ export function WorkflowItem({
|
||||
}
|
||||
|
||||
const handleClick = (e: React.MouseEvent) => {
|
||||
if (dragStartedRef.current || isEditing) {
|
||||
if (isDragging || isEditing) {
|
||||
e.preventDefault()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user