diff options
Diffstat (limited to 'makima/frontend/src/components')
| -rw-r--r-- | makima/frontend/src/components/mesh/TaskDetail.tsx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/makima/frontend/src/components/mesh/TaskDetail.tsx b/makima/frontend/src/components/mesh/TaskDetail.tsx index a74f394..e4fcce3 100644 --- a/makima/frontend/src/components/mesh/TaskDetail.tsx +++ b/makima/frontend/src/components/mesh/TaskDetail.tsx @@ -689,19 +689,6 @@ export function TaskDetail({ </button> )} </div> - {/* Disable adding subtasks for supervisors and at max depth (2 = sub-subtask, cannot have children) */} - {!isSupervisor && task.depth < 2 ? ( - <button - onClick={onCreateSubtask} - className="px-2 py-1 font-mono text-[10px] text-[#9bc3ff] border border-[rgba(117,170,252,0.25)] hover:border-[#3f6fb3] transition-colors uppercase" - > - + Add Subtask - </button> - ) : !isSupervisor ? ( - <span className="px-2 py-1 font-mono text-[10px] text-[#555] border border-[#333]" title="Maximum depth reached"> - Max depth - </span> - ) : null} </div> {/* Progress bar for tasks */} |
