We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79223a7 commit 40d5226Copy full SHA for 40d5226
material.angular.io/material.angular.io/src/app/shared/table-of-contents/table-of-contents.html
@@ -1,8 +1,8 @@
1
<div *ngFor="let linkSection of _linkSections" class="docs-toc-container">
2
- <div class="docs-toc-heading">{{linkSection.name}}</div>
3
- <nav [attr.aria-label]="linkSection.name + ' Table of Contents'">
+ <div class="docs-toc-heading">{{linkSection?.name}}</div>
+ <nav [attr.aria-label]="linkSection?.name + ' Table of Contents'">
4
<a [href]="_rootUrl + '#' + link.id"
5
- *ngFor="let link of linkSection.links; let i = index"
+ *ngFor="let link of linkSection?.links; let i = index"
6
class="docs-level-{{link.type}} docs-link"
7
[class.docs-active]="link.active">
8
{{link.name}}
0 commit comments