Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: project state setting dnd (#5881)

Anmol Singh Bhatia0312455d6619
diff --git a/web/core/components/project-states/state-item.tsx b/web/core/components/project-states/state-item.tsx
index d955a10b52..a29d5efbce 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<TStateItem> = observer((props) => {
getInitialData: () => initialData,
onDragStart: () => setIsDragging(true),
onDrop: () => setIsDragging(false),
- canDrag: () => isDraggable,
+ canDrag: () => isDraggable && !disabled,
}),
dropTargetForElements({
element: elementRef,