From 9fde3225a0c6f7cf23640335df6085f361f323ad Mon Sep 17 00:00:00 2001 From: cfdaily Date: Fri, 22 May 2026 22:58:04 +0800 Subject: [PATCH] auto-sync: 2026-05-22 22:58:04 --- src/api/project_routes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/project_routes.py b/src/api/project_routes.py index 04e8150..a1b80f2 100644 --- a/src/api/project_routes.py +++ b/src/api/project_routes.py @@ -68,8 +68,8 @@ async def list_projects(): projects["_general"]["task_count_archived"] = total - active except Exception: pass - return {"projects": {pid: info for pid, info in projects.items() - if info.get("status") not in ("archived", "deleted")}} + # 不过滤 archived 项目,前端按任务级 archived 字段自行筛选 + return {"projects": projects} @router.post("")