From d2f18953ca110247dbaea2921039b3b0d7551c3b Mon Sep 17 00:00:00 2001 From: Chloe Herd Date: Tue, 16 Apr 2024 13:56:20 -0400 Subject: [PATCH] Check correct location for EON on loadsession to avoid clearing state. --- src/store/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/store/index.js b/src/store/index.js index f3b2f87b2..8e981eeb1 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -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); }