@infrab4a/connect-angular 4.13.5 → 4.13.6-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1610,11 +1610,12 @@ class CartService {
|
|
|
1610
1610
|
}
|
|
1611
1611
|
giftToLineItems(items) {
|
|
1612
1612
|
return items.map((item) => {
|
|
1613
|
-
const { brand, categories, id, name, price, sku, slug, stock, weight, EAN } = item;
|
|
1613
|
+
const { brand, categories, category, id, name, price, sku, slug, stock, weight, EAN } = item;
|
|
1614
1614
|
const image = item?.miniatures?.length ? item.miniatures[0] : item.images[0];
|
|
1615
1615
|
return LineItem.toInstance({
|
|
1616
1616
|
brand,
|
|
1617
1617
|
categories,
|
|
1618
|
+
category,
|
|
1618
1619
|
id: id.toString(),
|
|
1619
1620
|
name,
|
|
1620
1621
|
price,
|