diff --git a/src/components/accounting/SalesManagement/index.tsx b/src/components/accounting/SalesManagement/index.tsx index cc0cea1c..a03a8371 100644 --- a/src/components/accounting/SalesManagement/index.tsx +++ b/src/components/accounting/SalesManagement/index.tsx @@ -129,7 +129,7 @@ export function SalesManagement({ initialData, initialPagination }: SalesManagem // ===== 거래처 목록 (필터용) ===== const vendorOptions = useMemo(() => { - const uniqueVendors = [...new Set(salesData.map(d => d.vendorName))]; + const uniqueVendors = [...new Set(salesData.map(d => d.vendorName))].filter(Boolean); return uniqueVendors.map(v => ({ value: v, label: v })); }, [salesData]); diff --git a/src/components/templates/IntegratedListTemplateV2.tsx b/src/components/templates/IntegratedListTemplateV2.tsx index b1583718..63e6932f 100644 --- a/src/components/templates/IntegratedListTemplateV2.tsx +++ b/src/components/templates/IntegratedListTemplateV2.tsx @@ -496,7 +496,7 @@ export function IntegratedListTemplateV2({ {field.allOptionLabel || '전체'} - {field.options.map((option) => ( + {field.options.filter(opt => opt.value !== '').map((option) => ( {option.label}