From 396992fe1bab12ecc8461ae3150e99c84cd88317 Mon Sep 17 00:00:00 2001 From: YangJinSoo94 Date: Wed, 12 Mar 2025 16:36:25 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8F=84=EB=84=9B=EC=B0=A8=ED=8A=B8=20?= =?UTF-8?q?=EB=A0=88=EC=9D=B4=EC=95=84=EC=9B=83=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/ui/chart/DoughnutChart.tsx | 38 ++++++++++--------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/packages/common/business_components/src/ui/chart/DoughnutChart.tsx b/packages/common/business_components/src/ui/chart/DoughnutChart.tsx index 336994029..f88b35476 100644 --- a/packages/common/business_components/src/ui/chart/DoughnutChart.tsx +++ b/packages/common/business_components/src/ui/chart/DoughnutChart.tsx @@ -17,28 +17,30 @@ import { export default (props: { chartConfig: ChartConfig; chartData: never[] | undefined; chartTitle:string}) =>{ return ( + {props.chartTitle && props.chartTitle !== "" && props.chartTitle !== "undefined" ? (
{props.chartTitle}
): null} - - - - } - /> - - - +
+ + + } + /> + + + +
)