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

Commit

Permalink
build: fix object might be undefined error in template
Browse files Browse the repository at this point in the history
Relates to #631
  • Loading branch information
Splaktar committed Sep 20, 2019
1 parent f792e7e commit 4c56b6f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/pages/component-list/component-list.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="docs-component-list-category">
<a *ngFor="let component of category.items"
<a *ngFor="let component of category?.items"
class="docs-component-list-item"
[routerLink]="'/' + section + '/' + component.id">
<mat-card>
Expand All @@ -19,5 +19,3 @@
</mat-card>
</a>
</div>


0 comments on commit 4c56b6f

Please sign in to comment.