From 04740584c30011e6c7c37fdfb0a7083b35c23842 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Tue, 6 Oct 2026 23:16:36 +0900 Subject: [PATCH] =?UTF-8?q?fix(B08):=20=ED=86=A0=EC=A0=81=ED=91=9C=20?= =?UTF-8?q?=ED=95=A9=EA=B3=84=20=EC=A4=84=20=E2=80=94=20=EA=B0=92=EC=9D=B4?= =?UTF-8?q?=20=ED=95=98=EB=82=98=EB=8F=84=20=EC=97=86=EB=8A=94=20=EB=A9=B4?= =?UTF-8?q?=20=EC=B9=B8(=EC=A0=9C=EA=B7=BC)=EC=9D=80=200=20=EB=8C=80?= =?UTF-8?q?=EC=8B=A0=20=EB=B9=88=20=EC=B9=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01UoSr2sqvYtBf1dtQdus88s --- B08_Quantity/B08_Quantity_UI_Earthwork.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/B08_Quantity/B08_Quantity_UI_Earthwork.ts b/B08_Quantity/B08_Quantity_UI_Earthwork.ts index a6f826259..2a82c1051 100644 --- a/B08_Quantity/B08_Quantity_UI_Earthwork.ts +++ b/B08_Quantity/B08_Quantity_UI_Earthwork.ts @@ -228,7 +228,11 @@ function totalRow(table: EarthworkTable): HTMLTableRowElement { num(t.diverted_m3), num(t.balance_m3), num(last?.cumulative_m3), - ...FACE_KEYS.flatMap((key) => ["", num(t[`${key}_area_m2`])]), + // 값이 하나도 없는 칸(제근 — B07 에 값 없음)은 합계도 비움 + ...FACE_KEYS.flatMap((key) => [ + "", + table.rows.some((row) => row.faces?.[key]?.area_m2 != null) ? num(t[`${key}_area_m2`]) : "", + ]), ]; const tr = document.createElement("tr"); tr.className = "b08-earthwork__total";