Removed non-prod logic behavior. Not sure why this was here.
This commit is contained in:
parent
517c4a673b
commit
bee2b75253
1 changed files with 4 additions and 11 deletions
|
|
@ -81,21 +81,14 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.mainStore.applicationUser.coverageAttempts = 0;
|
this.mainStore.applicationUser.coverageAttempts = 0;
|
||||||
if (
|
|
||||||
applicationConfig.CURRENT_ENVIRONMENT === 'Localhost'
|
// Forced full location redirect here. We do not want the entry page as part of the router/flow/path history.
|
||||||
|| applicationConfig.CURRENT_ENVIRONMENT === 'Dev'
|
window.location = `/?issPage=${issPageValues.WELCOME_PAGE}`;
|
||||||
|| applicationConfig.CURRENT_ENVIRONMENT === 'SysTest'
|
|
||||||
) {
|
|
||||||
this.navigateForward();
|
|
||||||
} else {
|
|
||||||
// Forced full location redirect here. We do not want the entry page as part of the router/flow/path history.
|
|
||||||
window.location = `/?issPage=${issPageValues.WELCOME_PAGE}`;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
methods:
|
methods:
|
||||||
{
|
{
|
||||||
navigateForward() {
|
navigateForward() {
|
||||||
// Har har har I think we were supposed to skip saving session here.
|
// If we use navigateForward we need to skip saving session (creating referral).
|
||||||
this.$router.navigate(
|
this.$router.navigate(
|
||||||
this.navigationScenarios.MOVE_FORWARD_ENTRY_PAGE,
|
this.navigationScenarios.MOVE_FORWARD_ENTRY_PAGE,
|
||||||
this.$route,
|
this.$route,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue