diff --git a/src/components/dashboard/WorkflowTarefas.tsx b/src/components/dashboard/WorkflowTarefas.tsx index 3c2e951..2f368a4 100644 --- a/src/components/dashboard/WorkflowTarefas.tsx +++ b/src/components/dashboard/WorkflowTarefas.tsx @@ -47,31 +47,43 @@ export const WorkflowTarefas: React.FC = () => { return (
{tarefasAtivas.map((tarefa: Tarefa) => ( -
- {tarefa.titulo} - - {tarefa.status.replace('_', ' ')} - -
- - {canDelete && ( +
+
+ {tarefa.titulo} + + {tarefa.status.replace('_', ' ')} + +
- )} + {canDelete && ( + + )} +
+ {/* Listagem das subtarefas vinculadas */} + {tarefa.subtarefas && tarefa.subtarefas.length > 0 && ( +
    + {tarefa.subtarefas.map((sub) => ( +
  • + {sub.titulo} {sub.concluida ? '(ConcluĂ­da)' : ''} +
  • + ))} +
+ )}
))}