@@ -44,7 +44,7 @@ public class ProductSummaryPanel extends JPanel {
listener = new ObservableListener<>(panel, (c, t) -> {
c.removeAll();
- product.getIngredientsAsStream().map(SummaryIngredientPanel::new).forEach(c::add);
+ product.getIngredients().stream().map(SummaryIngredientPanel::new).forEach(c::add);
});
listener.setObserved(product);
}