Check correct location for EON on loadsession to avoid clearing state.
This commit is contained in:
parent
094a25e9d8
commit
d2f18953ca
1 changed files with 4 additions and 1 deletions
|
|
@ -1808,7 +1808,10 @@ export const actions = {
|
||||||
});
|
});
|
||||||
|
|
||||||
// clear the state if the existing EON does not equal what is returned from loadSession
|
// 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);
|
context.commit(storeMutations.RESET_STATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue