From 0d8b9b1976c6da0d2f5a10bbf258aa1e3a9f139e Mon Sep 17 00:00:00 2001 From: wren Date: Fri, 20 Mar 2026 19:16:35 +0800 Subject: [PATCH] fix(reviews): make not-applicable button clickable with filter toggle Co-Authored-By: Claude Opus 4.6 (1M context) --- app/components/reviews/ReviewPointsList.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/app/components/reviews/ReviewPointsList.tsx b/app/components/reviews/ReviewPointsList.tsx index 7871ea4..d6f7766 100644 --- a/app/components/reviews/ReviewPointsList.tsx +++ b/app/components/reviews/ReviewPointsList.tsx @@ -634,6 +634,9 @@ export function ReviewPointsList({ } else if (statusFilter === 'error') { // 过滤"错误"状态 matchesStatus = point.result === false && point.status === 'error'; + } else if (statusFilter === 'notApplicable') { + // 过滤"未涉及"状态 + matchesStatus = point.status === 'notApplicable' || point.status === 'not_applicable'; } // console.log('筛选point', point); @@ -749,10 +752,15 @@ export function ReviewPointsList({ {/* 未涉及数量 */}
-
+
+