From fc43eab6fc5ed6800b77e315a9fd2764a8ab3196 Mon Sep 17 00:00:00 2001 From: kric_jspark Date: Thu, 2 Apr 2026 16:03:32 +0900 Subject: [PATCH] =?UTF-8?q?260402=5F03=5FENH:=20=EC=9B=8C=EB=94=A9=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/lge-dashboard/combo/TopChartTable.tsx | 2 +- src/lib/lg-dashboard.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/lge-dashboard/combo/TopChartTable.tsx b/src/components/lge-dashboard/combo/TopChartTable.tsx index f22e100..50a5e83 100644 --- a/src/components/lge-dashboard/combo/TopChartTable.tsx +++ b/src/components/lge-dashboard/combo/TopChartTable.tsx @@ -75,7 +75,7 @@ export default function TopChartTable({ - diff --git a/src/lib/lg-dashboard.ts b/src/lib/lg-dashboard.ts index 8706da2..0be24b9 100644 --- a/src/lib/lg-dashboard.ts +++ b/src/lib/lg-dashboard.ts @@ -514,8 +514,8 @@ export const makeTotalBasePct = (t:number|string, f:number|string):number => { export const calcTotalBaseRow = (label:string, totalRow: ProductRow, targetRow: ProductRow): ProductRow => { const out: ProductRow = { year: targetRow?.year ?? "", - //rowLabel: `** 조사 년도 ${label} 중 자사제품 비율`, - rowLabel: `** 자사제품 비율`, + //rowLabel: `**조사 년도 ${label} 중 자사제품 비율`, + rowLabel: `**자사제품 비율`, total: fixedDecimalPoint(makeTotalBasePct(totalRow.total, targetRow.total)) };
+ {chartNode ?
{chartNode}
: null}