feat(conference): lower the redirect timeout after feedback submission (#2673)

This commit is contained in:
Saúl Ibarra Corretgé 2018-03-28 16:35:26 +02:00 committed by virtuacoplenny
parent 2b7cdbc6a8
commit eb69fb69cb
1 changed files with 3 additions and 2 deletions

View File

@ -236,13 +236,14 @@ function maybeRedirectToWelcomePage(options) {
}));
}
// if Welcome page is enabled redirect to welcome page after 3 sec.
// if Welcome page is enabled redirect to welcome page after 3 sec, if
// there is a thank you message to be shown, 0.5s otherwise.
if (config.enableWelcomePage) {
setTimeout(
() => {
APP.store.dispatch(redirectWithStoredParams('/'));
},
3000);
options.showThankYou ? 3000 : 500);
}
}