Skip to content

Commit

Permalink
Update src/app/components/table-of-content/table-of-content.component.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Robinson Zimmermann <[email protected]>
  • Loading branch information
a1exymoroz and robinsonzimmermann authored Feb 13, 2024
1 parent 1d1a18f commit 885ab4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class TableOfContentComponent implements AfterViewInit {
this.dataSource.data = headers;
this.treeControl.expandAll();
if (headers.length) {
this.createOffsets(headers);
this.offsetHeaders = this.createOffsets(headers);
this.checkFirstHeader();
}
}
Expand Down

0 comments on commit 885ab4f

Please sign in to comment.