Skip to content

Commit

Permalink
CLAP-417 Fix: 작업 보드 상태 변경 오류 수정
Browse files Browse the repository at this point in the history
<footer>
- 관련: #543
  • Loading branch information
joowojr committed Feb 13, 2025
1 parent 98952ba commit da4955d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private Task handleSingleTask(Long processorId, TaskStatus targetStatus, Task ta
targetTask.updateTaskStatus(targetStatus);
updatedTask = taskService.upsert(targetTask);
} else if (prevTask == null) {
long newOrder = taskOrderCalculationPolicy.calculateOrderForBottom(null, nextTask);
long newOrder = taskOrderCalculationPolicy.calculateOrderForTop(null, nextTask);
updatedTask = updateNewTaskOrderAndStatus(targetStatus, targetTask, newOrder);
} else if (nextTask == null) {
long newOrder = taskOrderCalculationPolicy.calculateOrderForBottom(prevTask, null);
Expand Down

0 comments on commit da4955d

Please sign in to comment.