Hide dividing line if category has no image

This commit is contained in:
Zakary Timson 2018-07-14 13:18:10 -04:00
parent 1d89da6c5f
commit 7b8decdb3a

View File

@ -10,7 +10,7 @@
<ng-container *ngFor="let c of categories | async">
<mat-card class="m-3" (click)="navigate(c.name)">
<img *ngIf="c.ready" mat-card-image [src]="c.image | async" [alt]="c.name" style="width: 200px; height: 200px;">
<mat-divider class="custom-line"></mat-divider>
<mat-divider *ngIf="c.ready" class="custom-line"></mat-divider>
<mat-card-content>
<h5>{{c.name}}</h5>
</mat-card-content>