Skip to content

Commit e127a8d

Browse files
authored
FIX role on shopping cart (Ficodes#165)
1 parent 711ae50 commit e127a8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/shared/cart-drawer/cart-drawer.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export class CartDrawerComponent implements OnInit{
143143
const groupedByOwner: any[][] = Object.values(
144144
this.items.reduce((groups: any, item: any) => {
145145
const owner = item.relatedParty
146-
?.find((rp: any) => rp.role === 'Seller')
146+
?.find((rp: any) => rp.role === 'Owner')
147147
?.id;
148148

149149
if (owner) {

0 commit comments

Comments
 (0)