Check correct location for EON on loadsession to avoid clearing state.

This commit is contained in:
Chloe Herd 2024-04-16 13:56:20 -04:00
parent 094a25e9d8
commit d2f18953ca

View file

@ -1808,7 +1808,10 @@ export const actions = {
});
// clear the state if the existing EON does not equal what is returned from loadSession
if (context.state.order.eon && context.state.order.eon != response.data.eon) {
if (
context.state.order.eon &&
context.state.order.eon != response.data.order.eon
) {
context.commit(storeMutations.RESET_STATE);
}