Commit d7cebd60 authored by gap95's avatar gap95
Browse files

redirect feedback to home page

parent 2c56ed25
......@@ -66,9 +66,12 @@ export class FeedbackPage implements OnInit {
this.feedbackApi.subscribe((resp) => {
//console.log("rides response", resp);
this.isDetailsVisible = false;
this.router.navigateByUrl('/ridehistory');
this.toastService.showToast("Feedback Successful!")
this.router.navigateByUrl('/home');
//this.loadingService.hideLoader();
}, (error) => {console.log(error)
this.toastService.showToast("Feedback failed !")
//this.loadingService.hideLoader();
});
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment