diff --git a/src/constants/application-config.js b/src/constants/application-config.js index d87698a0b..eae3ef956 100644 --- a/src/constants/application-config.js +++ b/src/constants/application-config.js @@ -1,7 +1,7 @@ const applicationConfig = { CONSUMER_APIGATEWAY_URL: process.env.VUE_APP_CONSUMER_API_GATEWAY, GOOGLE_PLACES_API_KEY: process.env.VUE_APP_GOOGLE_PLACES_API_KEY, - SESSION_TIMEOUT_CONFIG: 30, + ANALYTICS_SESSION_TIMEOUT: 30, SAVED_SESSION_TIMEOUT: 45 }; diff --git a/src/helpers/heritage-integration-helper.js b/src/helpers/heritage-integration-helper.js index 290cc8fdb..7cd6ab149 100644 --- a/src/helpers/heritage-integration-helper.js +++ b/src/helpers/heritage-integration-helper.js @@ -141,7 +141,7 @@ export function updateOrCreateConceptCookie() { export function isAnalyticsSessionStillActive() { if (getConceptCookie() !== null) { const lastTouchedValue = getConceptCookie().LastTouched; - const timeoutAmount = applicationConfig.SESSION_TIMEOUT_CONFIG; + const timeoutAmount = applicationConfig.ANALYTICS_SESSION_TIMEOUT; const isMoreThanHalfHourAgo = ((new Date() - new Date(lastTouchedValue)) / 60000) > timeoutAmount; if (isMoreThanHalfHourAgo) { diff --git a/src/router/router-constants/navigation-scenarios.js b/src/router/router-constants/navigation-scenarios.js index 972944d80..55efdcaec 100644 --- a/src/router/router-constants/navigation-scenarios.js +++ b/src/router/router-constants/navigation-scenarios.js @@ -8,8 +8,7 @@ const navigationScenarios = { SELECTED_PARTS: "SELECTED_PARTS", SELECTED_DAMAGE_WITH_SINGLE_PART: "SELECTED_DAMAGE_WITH_SINGLE_PART", SELECTED_DAMAGE_WITH_MULTIPLE_PARTS: "SELECTED_DAMAGE_WITH_MULTIPLE_PARTS", - SELECTED_DAMAGE_WITH_PART_QUESTIONS: "SELECTED_DAMAGE_WITH_PART_QUESTIONS", - MOVE_TO_HERITAGE_FUNNEL: "MOVE_TO_HERITAGE_FUNNEL", + SELECTED_DAMAGE_WITH_PART_QUESTIONS: "SELECTED_DAMAGE_WITH_PART_QUESTIONS" }; export { navigationScenarios };