fix: get correct new postion after dropping task in different list
was getting the current draggable list based on whatever task group the task was in, ignoring that that task group might be different (when the task was dragged to a new list)
This commit is contained in:
@ -396,6 +396,7 @@ const ProjectBoard: React.FC<ProjectBoardProps> = ({ projectID, onCardLabelClick
|
||||
__typename: 'UpdateTaskLocationPayload',
|
||||
previousTaskGroupID,
|
||||
task: {
|
||||
...droppedTask,
|
||||
__typename: 'Task',
|
||||
name: droppedTask.name,
|
||||
id: droppedTask.id,
|
||||
|
Reference in New Issue
Block a user