diff --git a/ng-seed/src/app/end-user/payment/payment.component.ts b/ng-seed/src/app/end-user/payment/payment.component.ts index 6a59e38..c1e8d16 100644 --- a/ng-seed/src/app/end-user/payment/payment.component.ts +++ b/ng-seed/src/app/end-user/payment/payment.component.ts @@ -23,7 +23,8 @@ export class PaymentComponent implements OnInit { console.log(URL) let URL_AS_LIST = URL.split('/'); console.log(URL_AS_LIST); - this.router.navigate(['customer/business/'+URL_AS_LIST[3]]) + //this.router.navigate(['customer/business/'+URL_AS_LIST[3]]) + this.router.navigate(['customer/'+URL_AS_LIST[2]+'/'+URL_AS_LIST[3]]) } }) diff --git a/ng-seed/src/app/end-user/slot-booking/slot-booking-details.component.ts b/ng-seed/src/app/end-user/slot-booking/slot-booking-details.component.ts index e9fdc72..3c3eff1 100644 --- a/ng-seed/src/app/end-user/slot-booking/slot-booking-details.component.ts +++ b/ng-seed/src/app/end-user/slot-booking/slot-booking-details.component.ts @@ -68,7 +68,7 @@ export class SlotBookingDetailsComponent implements OnInit { console.log(URL) let URL_AS_LIST = URL.split('/'); console.log(URL_AS_LIST); - this.router.navigate(['customer/business/'+URL_AS_LIST[3]]) + this.router.navigate(['customer/'+URL_AS_LIST[2]+'/'+URL_AS_LIST[3]]) } })