diff --git a/src/meta/assessment/subSections.ts b/src/meta/assessment/subSections.ts index cd1693f0d6..375926f9a2 100644 --- a/src/meta/assessment/subSections.ts +++ b/src/meta/assessment/subSections.ts @@ -20,6 +20,8 @@ const cloneProps = (props: { cycleSource: Cycle; cycleTarget: Cycle; subSection: // delete nationalData->dataSources->text needed only in FRA 2025 Objects.unset(descriptionsSource, ['nationalData', 'dataSources', 'text']) _props.descriptions[cycleTargetUuid] = descriptionsSource + } else { + _props.descriptions[cycleTargetUuid] = {} } if (!Objects.isNil(_props.hidden?.[cycleSourceUuid])) _props.hidden[cycleTargetUuid] = Objects.cloneDeep(_props.hidden[cycleSourceUuid])