Skip to content
This repository was archived by the owner on Oct 14, 2019. It is now read-only.

Commit 090f447

Browse files
author
Your Name
committed
Angular and Firebase App
1 parent 0c276a9 commit 090f447

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/course-detail/course-detail.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h2>{{ (course$ | async)?.description }}</h2>
1010
<button (click)="next()">Next Page</button>
1111
</div>
1212

13-
<lessons-list [lessons]="lessons" (lesson)="navigateToLesson($event)"></lessons-list>
13+
<lessons-list *ngIf="lessons" [lessons]="lessons" (lesson)="navigateToLesson($event)"></lessons-list>
1414

1515
<div class="tools-bar">
1616
<button >New Lesson</button>

src/app/home/home.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ <h4>Total Lessons: {{lessons?.length}}</h4>
66

77
<div class="lessons-list-container v-h-center-block-parent">
88

9-
<lessons-list [lessons]="filtered"></lessons-list>
9+
<lessons-list *ngIf="filtered" [lessons]="filtered"></lessons-list>
1010

1111
</div>

0 commit comments

Comments
 (0)