mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 00:50:46 +08:00
Fix AuditPage build error mixing nullish coalescing with logical OR.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
dd35234599
commit
eb76e07a46
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue