end user routing fixed

This commit is contained in:
bitbucket 2023-04-18 14:44:13 +05:30
parent bf9fb21e40
commit 329ad7333b
2 changed files with 3 additions and 2 deletions

View File

@ -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]])
}
})

View File

@ -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]])
}
})