fix on table-of-content validation - on table-of-content-internal initialization
This commit is contained in:
parent
7f352004ed
commit
7d9a8b3aa1
|
@ -90,7 +90,7 @@ export class TableOfContentsInternal implements OnInit, OnDestroy {
|
||||||
refreshErrorIndicators(): void {
|
refreshErrorIndicators(): void {
|
||||||
this.updatedMap = this.updateMap(this.tocentries, this.parentMap);
|
this.updatedMap = this.updateMap(this.tocentries, this.parentMap);
|
||||||
for (let entry of this.tocentries) {
|
for (let entry of this.tocentries) {
|
||||||
this.tocEntriesStateMap.set(entry.id, false);
|
this.tocEntriesStateMap.set(entry.id, this.hasErrors(entry.id));
|
||||||
|
|
||||||
this.tocEntriesStateSubscriptions.push(
|
this.tocEntriesStateSubscriptions.push(
|
||||||
this.tocValidationService.validateFormEvent
|
this.tocValidationService.validateFormEvent
|
||||||
|
|
Loading…
Reference in New Issue