feat(#12): Add subsections to sections, fix version deletion after update
This commit is contained in:
@@ -78,8 +78,8 @@ const validationStatus = ref<ComplianceStatus>(ComplianceStatus.NonCritical)
|
||||
|
||||
const allFormElements = computed(() => {
|
||||
return (
|
||||
applicationFormTemplate.value?.formElementSections?.flatMap(
|
||||
(section: FormElementSectionDto) => section.formElements
|
||||
applicationFormTemplate.value?.formElementSections?.flatMap((section: FormElementSectionDto) =>
|
||||
section.formElementSubSections.flatMap((subsection) => subsection.formElements)
|
||||
) ?? []
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user