Commit bd9451ab authored by Gauri Amol Pande's avatar Gauri Amol Pande
Browse files

Merge branch '72-feedback-toast-message' into 'master'

Resolve "feedback toast message"

Closes #72

See merge request 92khra1mst/hft_awado_app!65
parents 2c56ed25 d7cebd60
Pipeline #1783 canceled with stages
......@@ -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