Skip to content

Commit fa5a0fa

Browse files
committed
Added ngIf to Filtered By row.
1 parent 79921b9 commit fa5a0fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

APM - Final/app/products/product-list.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<input type='text' [(ngModel)]='listFilter' />
1212
</div>
1313
</div>
14-
<div class='row'>
14+
<div class='row' *ngIf='listFilter'>
1515
<div class='col-md-6'>
1616
<h3>Filtered by: {{listFilter}} </h3>
1717
</div>

0 commit comments

Comments
 (0)