From c411d866bbca86fa8390d427d80640952b9c580a Mon Sep 17 00:00:00 2001 From: umsangdon Date: Fri, 25 Sep 2026 16:55:05 +0900 Subject: [PATCH] =?UTF-8?q?fix(sheet):=20=ED=95=A9=EA=B3=84=20=EC=B9=B8=20?= =?UTF-8?q?=ED=92=8D=EC=84=A0=EC=97=90=20=EC=95=8C=EB=A6=BC=20=EA=B9=8C?= =?UTF-8?q?=EB=8B=AD=EA=B3=BC=20=EC=8B=9D=EC=9D=84=20=ED=95=A8=EA=BB=98=20?= =?UTF-8?q?(M02=20=EC=A0=84=EC=88=98=20=EC=9E=AC=EA=B2=80=EC=A6=9D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01Tjoit7rxvpLMM7cafeVTo1 --- ui_template/sheet/ui_template_sheet_render.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui_template/sheet/ui_template_sheet_render.ts b/ui_template/sheet/ui_template_sheet_render.ts index 2ef7da45..72737824 100644 --- a/ui_template/sheet/ui_template_sheet_render.ts +++ b/ui_template/sheet/ui_template_sheet_render.ts @@ -240,7 +240,11 @@ export function renderSheet(state: RenderState): HTMLElement { cols.forEach((col, j) => { const td = bodyCell(`t:${total.id}`, col, j, shown(state.result.합계[total.id]?.[col.id])); const formula = totalFormula(total, col); - if (formula) td.title = formulaLabel(formula, names); + if (formula) + td.title = td.classList.contains("is-error") + ? `${td.title} +${formulaLabel(formula, names)}` + : formulaLabel(formula, names); tr.append(td); }); return tr;