|
|
|
@@ -200,7 +200,6 @@ export class ProductListComponent implements OnInit, AfterViewInit { |
|
|
|
} |
|
|
|
|
|
|
|
getProductFromElement(element: any): ProductJsonld { |
|
|
|
console.log(element['product']); |
|
|
|
if (this.user !== undefined) { |
|
|
|
return element['product']; |
|
|
|
} else if (this.partner !== undefined) { |
|
|
|
@@ -281,7 +280,6 @@ export class ProductListComponent implements OnInit, AfterViewInit { |
|
|
|
}); |
|
|
|
const userConfirmed = confirm(confirmMessage); |
|
|
|
if (userConfirmed) { |
|
|
|
console.log(element); |
|
|
|
if (this.partner) { |
|
|
|
this.partnerProductService.partnerProductsIdDelete(this.appHelperService.extractId(element.id)).subscribe( |
|
|
|
data => { |
|
|
|
|