This commit is contained in:
Sofia Papacharalampous 2024-06-11 13:42:35 +03:00
parent fe34afec05
commit 9ac14c5393
1 changed files with 2 additions and 2 deletions

View File

@ -222,7 +222,7 @@ export class TableOfContentsComponent extends BaseComponent implements OnInit, O
type: ToCEntryType.Section, type: ToCEntryType.Section,
ordinal: item.ordinal, ordinal: item.ordinal,
visibilityRuleKey: item.id, visibilityRuleKey: item.id,
validityAbstractControl: this.formGroup.get('fieldSets').get(item.id), validityAbstractControl: this.formGroup.get('fieldSets')?.get(item.id),
} }
} }
@ -239,7 +239,7 @@ export class TableOfContentsComponent extends BaseComponent implements OnInit, O
type: ToCEntryType.FieldSet, type: ToCEntryType.FieldSet,
ordinal: item.ordinal, ordinal: item.ordinal,
visibilityRuleKey: item.id, visibilityRuleKey: item.id,
validityAbstractControl: this.formGroup.get('fieldSets').get(item.id), validityAbstractControl: this.formGroup.get('fieldSets')?.get(item.id),
isLastEntry: nextEntry == null, isLastEntry: nextEntry == null,
isFirstEntry: previousEntry == null , isFirstEntry: previousEntry == null ,
previousEntry: previousEntry, previousEntry: previousEntry,