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;
|
||||
if (
|
||||
applicationConfig.CURRENT_ENVIRONMENT === 'Localhost'
|
||||
|| applicationConfig.CURRENT_ENVIRONMENT === 'Dev'
|
||||
|| 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}`;
|
||||
}
|
||||
|
||||
// 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:
|
||||
{
|
||||
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.navigationScenarios.MOVE_FORWARD_ENTRY_PAGE,
|
||||
this.$route,
|
||||
|
|
|
|||
Loading…
Reference in a new issue