Final touches

This commit is contained in:
Michaela Brydon 2024-08-15 15:31:18 -04:00
parent c249e4b833
commit 299ae0d813

View file

@ -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() {