This commit is contained in:
@@ -66,7 +66,7 @@ const TaskDetailModal: FC<Props> = ({ open, task, columns, projectId, onClose, o
|
||||
|
||||
if (!task) return null;
|
||||
|
||||
const selectedPhaseId = taskDetail?.taskPhaseId ?? task.columnId;
|
||||
const selectedPhaseId = task.columnId || taskDetail?.taskPhaseId || "";
|
||||
|
||||
const handleTabChange = (tab: TaskDetailTab) => {
|
||||
setActiveTab((prev) => (prev === tab ? null : tab));
|
||||
|
||||
Reference in New Issue
Block a user