diff --git a/src/components/dashboard/WorkflowTarefas.tsx b/src/components/dashboard/WorkflowTarefas.tsx index bfe8816..3c2e951 100644 --- a/src/components/dashboard/WorkflowTarefas.tsx +++ b/src/components/dashboard/WorkflowTarefas.tsx @@ -41,9 +41,12 @@ export const WorkflowTarefas: React.FC = () => { ); } + // Exibir apenas tarefas que não estão concluídas ou canceladas + const tarefasAtivas = tarefas.filter((t: Tarefa) => t.status !== 'CONCLUIDA' && t.status !== 'CANCELADA'); + return (
- {tarefas.map((tarefa: Tarefa) => ( + {tarefasAtivas.map((tarefa: Tarefa) => (
{tarefa.titulo}