Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
hdastageeri
hft_awado_app
Commits
d7cebd60
Commit
d7cebd60
authored
Jan 13, 2020
by
gap95
Browse files
redirect feedback to home page
parent
2c56ed25
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/feedback/feedback.page.ts
View file @
d7cebd60
...
@@ -66,9 +66,12 @@ export class FeedbackPage implements OnInit {
...
@@ -66,9 +66,12 @@ export class FeedbackPage implements OnInit {
this
.
feedbackApi
.
subscribe
((
resp
)
=>
{
this
.
feedbackApi
.
subscribe
((
resp
)
=>
{
//console.log("rides response", resp);
//console.log("rides response", resp);
this
.
isDetailsVisible
=
false
;
this
.
isDetailsVisible
=
false
;
this
.
router
.
navigateByUrl
(
'
/ridehistory
'
);
this
.
toastService
.
showToast
(
"
Feedback Successful!
"
)
this
.
router
.
navigateByUrl
(
'
/home
'
);
//this.loadingService.hideLoader();
//this.loadingService.hideLoader();
},
(
error
)
=>
{
console
.
log
(
error
)
},
(
error
)
=>
{
console
.
log
(
error
)
this
.
toastService
.
showToast
(
"
Feedback failed !
"
)
//this.loadingService.hideLoader();
//this.loadingService.hideLoader();
});
});
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment