From 5a8b5e49032eb057b50dcb76b6519cb02f3f083b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lara=20Mi=C3=B1ones=20Rodr=C3=ADguez?= Date: Thu, 11 Dec 2025 11:45:38 +0100 Subject: [PATCH] FIX role on shopping cart --- src/app/shared/cart-drawer/cart-drawer.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/cart-drawer/cart-drawer.component.ts b/src/app/shared/cart-drawer/cart-drawer.component.ts index 59dd3d1a..283cb98c 100644 --- a/src/app/shared/cart-drawer/cart-drawer.component.ts +++ b/src/app/shared/cart-drawer/cart-drawer.component.ts @@ -143,7 +143,7 @@ export class CartDrawerComponent implements OnInit{ const groupedByOwner: any[][] = Object.values( this.items.reduce((groups: any, item: any) => { const owner = item.relatedParty - ?.find((rp: any) => rp.role === 'Seller') + ?.find((rp: any) => rp.role === 'Owner') ?.id; if (owner) {