mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
#1477 Navigation in Warenkorb ausgebaut
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user