From eb76e07a461de4f4e9d09f4e4531e252799b0a01 Mon Sep 17 00:00:00 2001 From: oliver Date: Wed, 2 Sep 2026 09:34:15 +0800 Subject: [PATCH] Fix AuditPage build error mixing nullish coalescing with logical OR. Co-authored-by: Cursor --- web/src/pages/AuditPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/AuditPage.tsx b/web/src/pages/AuditPage.tsx index 3deb078..a25fade 100644 --- a/web/src/pages/AuditPage.tsx +++ b/web/src/pages/AuditPage.tsx @@ -81,7 +81,7 @@ export function auditSummary( } if (action === "ne.exec_batch") { return t("audit.summary.neExecBatch", { - n: String(d.target_count ?? ((d.ne_ids as unknown[]) || []).length || 0), + n: String(d.target_count ?? (((d.ne_ids as unknown[]) || []).length || 0)), ok: String(d.ok_count ?? 0), fail: String(d.fail_count ?? 0), });