This commit is contained in:
Katie 2022-08-26 10:19:51 -04:00
parent 9752b6c279
commit e0589ea1eb

View file

@ -396,7 +396,7 @@ export const getters = {
selectedPassengerSideGlass: getAllValuesOfPropertyInArrayOfObjects(state.order.damage.glassToReplace, "glassLocation").includes(damageLocationsSelected.PASSENGER)
}
},
experimentSettings: (state) => state.applicationUser.experiments.map(x => x.settings).reduce((r, c) => Object.assign(r, c), {})
experimentSettings: (state) => state.applicationUser.experiments.map(x => x.settings).reduce((r, c) => Object.assign(r, c), {}) ?? {}
}
function getAllValuesOfPropertyInArrayOfObjects(array, propertyName) {