end user routing fixed
This commit is contained in:
parent
bf9fb21e40
commit
329ad7333b
@ -23,7 +23,8 @@ export class PaymentComponent implements OnInit {
|
|||||||
console.log(URL)
|
console.log(URL)
|
||||||
let URL_AS_LIST = URL.split('/');
|
let URL_AS_LIST = URL.split('/');
|
||||||
console.log(URL_AS_LIST);
|
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]])
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|||||||
@ -68,7 +68,7 @@ export class SlotBookingDetailsComponent implements OnInit {
|
|||||||
console.log(URL)
|
console.log(URL)
|
||||||
let URL_AS_LIST = URL.split('/');
|
let URL_AS_LIST = URL.split('/');
|
||||||
console.log(URL_AS_LIST);
|
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]])
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user