fix: shipping product select fixed
This commit is contained in:
		@@ -14,9 +14,9 @@ const ShippingProductSelect: FC<Props> = (props: Props) => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        const data: ProductSchema[] = props.data.filter(product => {
 | 
					        const data: ProductSchema[] = props.data.filter(product => {
 | 
				
			||||||
            return (
 | 
					            return (
 | 
				
			||||||
                product.name.toLowerCase().includes(searchValue) ||
 | 
					                product.name?.toLowerCase().includes(searchValue) ||
 | 
				
			||||||
                product.article?.toLowerCase().includes(searchValue) ||
 | 
					                product.article?.toLowerCase().includes(searchValue) ||
 | 
				
			||||||
                product.barcodes && product.barcodes[0].toLowerCase().includes(searchValue)
 | 
					                product.barcodes && product.barcodes.length > 0 && product.barcodes[0].toLowerCase().includes(searchValue)
 | 
				
			||||||
            );
 | 
					            );
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
        return data;
 | 
					        return data;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user