diff --git a/src/components/quotes/QuoteRegistration.tsx b/src/components/quotes/QuoteRegistration.tsx index 01695336..1f45e119 100644 --- a/src/components/quotes/QuoteRegistration.tsx +++ b/src/components/quotes/QuoteRegistration.tsx @@ -813,11 +813,16 @@ export function QuoteRegistration({ - {getFilteredProducts(formData.items[activeItemIndex].productCategory).map((product) => ( - - {product.item_name} ({product.item_code}) - - ))} + {getFilteredProducts(formData.items[activeItemIndex].productCategory) + .filter((product) => product.item_code) // null/undefined 제외 + .filter((product, index, self) => + index === self.findIndex(p => p.item_code === product.item_code) + ) + .map((product, index) => ( + + {product.item_name} ({product.item_code}) + + ))}