auto-sync: 2026-05-22 22:58:04

This commit is contained in:
cfdaily
2026-05-22 22:58:04 +08:00
parent 2b5fd19bd8
commit 9fde3225a0
+2 -2
View File
@@ -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("")