auto-sync: 2026-05-21 23:45:02

This commit is contained in:
cfdaily
2026-05-21 23:45:02 +08:00
parent 93390b5efe
commit 59ec3f7cf0
+1 -1
View File
@@ -417,7 +417,7 @@ export default function EdictBoard() {
const counts: Record<string, number> = { all: topLevelTasks.length };
topLevelTasks.forEach(t => { counts[t.status] = (counts[t.status] || 0) + 1; });
const activeCount = topLevelTasks.filter(t => ['working', 'claimed', 'review', 'paused', 'escalated', 'waiting_human'].includes(t.status)).length;
const activeCount = topLevelTasks.filter(t => !t.archived).length;
const doneCount = topLevelTasks.filter(t => t.status === 'done').length;
const failedCount = topLevelTasks.filter(t => ['failed', 'blocked'].includes(t.status)).length;
const reviewCount = topLevelTasks.filter(t => t.status === 'review').length;