diff --git a/src/selectors.ts b/src/selectors.ts index 26f5e9f6..bbb5a912 100644 --- a/src/selectors.ts +++ b/src/selectors.ts @@ -367,10 +367,11 @@ export const selectSoilDataIntervals = createSelector( (soilData: SoilData, projectSettings: ProjectSoilSettings | undefined) => { if (projectSettings === undefined) { // check site presets + const presetIntervals = generateSiteIntervalPreset({ ...soilData, // default is LANDPKS if preset is not set - ...(soilData.depthIntervalPreset === undefined + ...(!soilData.depthIntervalPreset ? { depthIntervalPreset: 'LANDPKS' } : {}), });