Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 6563d6b

Browse files
committed
build: fix object might be undefined error in template
Relates to #631
1 parent 13f46a1 commit 6563d6b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/app/pages/component-list/component-list.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="docs-component-list-category">
2-
<a *ngFor="let component of category.items"
2+
<a *ngFor="let component of category?.items"
33
class="docs-component-list-item"
44
[routerLink]="'/' + section + '/' + component.id">
55
<mat-card>
@@ -19,5 +19,3 @@
1919
</mat-card>
2020
</a>
2121
</div>
22-
23-

0 commit comments

Comments
 (0)