#1477 Navigation in Warenkorb ausgebaut

This commit is contained in:
Andreas Schickinger
2021-03-03 13:49:54 +01:00
parent 3222f019d9
commit 7204a47d44

View File

@@ -119,10 +119,6 @@ export class PurchasingOptionsModalComponent {
this.purchasingOptionsModalStore.setQuantity(quantity);
if (quantity === 0) {
if (!this.router.url.startsWith('/product/details')) {
let item = await this.item$.pipe(first()).toPromise();
this.router.navigate(['/product', 'details', item.product.ean], { queryParams: { type: 'ean' } });
}
this.modalRef.close();
}
}