Hi I'm having parent component 'Order' and two child component for it 'History' and 'Orders'. Current url is order/history/id I want to go back to 'Orders' component like order/orders/id so I'm using Router in my app.
this.router.navigate(['../../orders', orderId]); 
in history component as suggested in How do I navigate to a parent route from a child route?  but it showing cannot match any routes url segment  orders/7y6786 What is the best approach to solve this? Thank you.
 
    