diff --git a/src/router/index.js b/src/router/index.js index bcf2fd46..44e5e5a8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -88,6 +88,7 @@ router.afterEach((to, from) => { const store = useMainStore(); // Update lastPageVisited in the store store.updateLastPageVisited(to.name); + store.saveSession(); if (to.query.issPage !== issPageValues.ENTRY_PAGE) { // Push page view to GA diff --git a/src/store/index.js b/src/store/index.js index ed1be634..bc3d8566 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -81,10 +81,9 @@ const getDefaultState = () => ({ zipCode: null, zipCodeCtu: null }, - // otherParts vs serverData lineItems: { glassParts: null, - otherParts: null, // TODO what is this? + otherParts: null, supportingItems: null, vaps: null }, @@ -98,7 +97,6 @@ const getDefaultState = () => ({ }, referralNumber: null, referralDate: null, - // DNE in FMG contactInfo: { firstName: null, lastName: null,