From 6f1cd1f8c959aa86e0c3432b1906b27f862ef207 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia Date: Mon, 21 Oct 2024 16:14:18 +0530 Subject: [PATCH] fix: project state setting dnd --- 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 d955a10b524..a29d5efbceb 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,