Commit 0d1e3837 authored by Michail Tzanatos's avatar Michail Tzanatos
Browse files

update navigation to redirect to product orders instead of products on order creation

parent 31f9d52f
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for src/app/p_product/orderCheckout/product-order-checkout/product-order-checkout.component.ts: 1 added line, 1 removed line.
Original line number Original line Diff line number Diff line
@@ -279,7 +279,7 @@ export class ProductOrderCheckoutComponent implements OnInit {
        if (createdOrder?.id) {
        if (createdOrder?.id) {
          this.router.navigate(["products", 'product_order', createdOrder.id]);
          this.router.navigate(["products", 'product_order', createdOrder.id]);
        } else {
        } else {
          this.router.navigate(["products"]);
          this.router.navigate(["products", 'product_orders']);
        }
        }
      },
      },
      error: (error) => {
      error: (error) => {