From 0312455d66193b316ec9e0dc400d56a5024a5ea7 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Thu, 24 Oct 2024 14:41:35 +0530 Subject: [PATCH] fix: project state setting dnd (#5881) --- web/core/components/project-states/state-item.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/core/components/project-states/state-item.tsx b/web/core/components/project-states/state-item.tsx index d955a10b5..a29d5efbc 100644 --- a/web/core/components/project-states/state-item.tsx +++ b/web/core/components/project-states/state-item.tsx @@ -67,7 +67,7 @@ export const StateItem: FC = observer((props) => { getInitialData: () => initialData, onDragStart: () => setIsDragging(true), onDrop: () => setIsDragging(false), - canDrag: () => isDraggable, + canDrag: () => isDraggable && !disabled, }), dropTargetForElements({ element: elementRef,