From 53d7aea7e103901097e4881b1db3efe2b8cd13d8 Mon Sep 17 00:00:00 2001 From: CarlNation <32103961+CarlNation@users.noreply.github.com> Date: Mon, 5 Feb 2024 15:27:35 -0500 Subject: [PATCH] CSR-1072 CSR-1072 the sessionId is not getting saved during loadsession. this is a problem when returning from heritage. the vuex sessionId ends up blank and we do not load the dynamoDb session data because we pass a default guid to load-session --- src/store/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/store/index.js b/src/store/index.js index 5339f7973..b61ea9084 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -577,6 +577,10 @@ export const mutations = { state.applicationUser.pageData = sessionInformation.applicationUser.pageData; state.applicationUser.lastPage = sessionInformation.applicationUser.lastPage; + if (sessionInformation.applicationUser.savedSessionId) { + state.applicationUser.savedSessionId = sessionInformation.applicationUser.savedSessionId; + } + state.order.schedule.date = sessionInformation.order.schedule?.date; state.order.schedule.startTime = sessionInformation.order.schedule?.startTime; state.order.schedule.endTime = sessionInformation.order.schedule?.endTime;