|
@@ -236,13 +236,14 @@ function maybeRedirectToWelcomePage(options) {
|
236
|
236
|
}));
|
237
|
237
|
}
|
238
|
238
|
|
239
|
|
- // if Welcome page is enabled redirect to welcome page after 3 sec.
|
|
239
|
+ // if Welcome page is enabled redirect to welcome page after 3 sec, if
|
|
240
|
+ // there is a thank you message to be shown, 0.5s otherwise.
|
240
|
241
|
if (config.enableWelcomePage) {
|
241
|
242
|
setTimeout(
|
242
|
243
|
() => {
|
243
|
244
|
APP.store.dispatch(redirectWithStoredParams('/'));
|
244
|
245
|
},
|
245
|
|
- 3000);
|
|
246
|
+ options.showThankYou ? 3000 : 500);
|
246
|
247
|
}
|
247
|
248
|
}
|
248
|
249
|
|