From 5ecff305842dae7663e4bdbd3242554d4579047a Mon Sep 17 00:00:00 2001 From: Erik Date: Thu, 27 Nov 2025 17:30:25 -0300 Subject: [PATCH] fix: remover filtro de status published para mostrar todos projetos --- frontend/src/app/(public)/projetos/page.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/(public)/projetos/page.tsx b/frontend/src/app/(public)/projetos/page.tsx index 78d91df..3f84ad0 100644 --- a/frontend/src/app/(public)/projetos/page.tsx +++ b/frontend/src/app/(public)/projetos/page.tsx @@ -26,9 +26,8 @@ export default function ProjetosPage() { const res = await fetch("/api/projects", { cache: "no-store" }); if (res.ok) { const data = await res.json(); - // Filtrar apenas projetos publicados - const published = data.filter((p: Project) => p.status === "published"); - setProjects(published); + // Mostrar todos os projetos (status pode ser "Em andamento" ou "ConcluĂ­do") + setProjects(data); } } catch (error) { console.error("Erro ao carregar projetos:", error);