From 3d919350c8e34fbdec4df3a001d580d0cbe312d2 Mon Sep 17 00:00:00 2001 From: "Rodrigo B. de Sousa Martins" Date: Tue, 15 Jul 2025 19:47:49 -0300 Subject: [PATCH] dashboard: reimaginacao Signed-off-by: Rodrigo B. de Sousa Martins --- src/components/dashboard/WorkflowTarefas.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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}