fix(canvas): exclude pending decisions from review count

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: dc011747-d114-43af-93e9-7f0036f9b4b7
This commit is contained in:
Aaron Powell
2026-10-13 11:48:38 +11:00
co-authored by Copilot App
parent c0fb55cd28
commit 7c0da121fa
2 changed files with 13 additions and 1 deletions
@@ -146,7 +146,7 @@ function findItem(number) {
function pendingReviewCount() {
return board
? board.items.filter((item) => !item.decision && item.reviewStatus !== "reviewed" && item.reviewStatus !== "queued").length
? board.items.filter((item) => !item.decision && !item.pendingDecision && item.reviewStatus !== "reviewed" && item.reviewStatus !== "queued").length
: 0;
}