This commit is contained in:
CITE\spapacharalampous 2024-07-22 10:57:26 +03:00
parent 1ac8257fba
commit a88bb0a58e
1 changed files with 3 additions and 0 deletions

View File

@ -748,6 +748,9 @@ export class PlanFieldIndicator {
if (section.hasTemplates) { if (section.hasTemplates) {
this._fieldControlNames.push(`descriptionTemplates.${section.id}`); this._fieldControlNames.push(`descriptionTemplates.${section.id}`);
} else { } else {
if (section.fields == null || section.fields?.length == 0) return;
section.fields.forEach((field: FieldInSection) => { section.fields.forEach((field: FieldInSection) => {
switch (field.category) { switch (field.category) {
case PlanBlueprintFieldCategory.System: case PlanBlueprintFieldCategory.System: