Commit d7cebd60 authored by gap95's avatar gap95
Browse files

redirect feedback to home page

1 merge request!65Resolve "feedback toast message"
Showing with 4 additions and 1 deletion
+4 -1
......@@ -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();
});
});
......
Supports Markdown
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