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
This commit is contained in:
CarlNation 2024-02-05 15:27:35 -05:00
parent 0d02b5cd7a
commit 53d7aea7e1

View file

@ -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;