From 299ae0d81315127ccbe673cf9c2292c91871477a Mon Sep 17 00:00:00 2001 From: Michaela Brydon Date: Thu, 15 Aug 2024 15:31:18 -0400 Subject: [PATCH] Final touches --- src/store/index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index a1d45069..96d4460a 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -419,8 +419,7 @@ export const useMainStore = defineStore({ experimentSettings: (state) => state.applicationUser.experiments .filter((x) => !!x.isActive) .map((x) => x.settings) - .reduce((r, c) => Object.assign(r, c), {}) ?? {}//, - //submittedOrder: () => JSON.parse(window.sessionStorage.getItem(webStorageConstants.SUBMITTED_ORDER)) + .reduce((r, c) => Object.assign(r, c), {}) ?? {} }, actions: { @@ -1547,8 +1546,7 @@ export const useMainStore = defineStore({ }, resetState() { - //Object.assign(this, getDefaultState()); - this.$reset(); + Object.assign(this, getDefaultState()); }, resetRegistrationState() {