diff --git a/src/components/production/WorkerScreen/WorkItemCard.tsx b/src/components/production/WorkerScreen/WorkItemCard.tsx index 02a3c8be..4e47e7f0 100644 --- a/src/components/production/WorkerScreen/WorkItemCard.tsx +++ b/src/components/production/WorkerScreen/WorkItemCard.tsx @@ -259,21 +259,27 @@ function SlatExtraInfo({ slatCount, jointBar, }: { - length: number; - slatCount: number; - jointBar: number; + length?: number; + slatCount?: number; + jointBar?: number; }) { return (
- - 길이 {formatNumber(length)}mm - - - 슬랫 매수 {slatCount}장 - - - 조인트바 {jointBar}개 - + {length != null && length > 0 && ( + + 길이 {formatNumber(length)}mm + + )} + {slatCount != null && slatCount > 0 && ( + + 슬랫 매수 {slatCount}장 + + )} + {jointBar != null && jointBar > 0 && ( + + 조인트바 {jointBar}개 + + )}
); }