Allow uploading images
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<ng-container matColumnDef="image">
|
||||
<th mat-header-cell *matHeaderCellDef> image </th>
|
||||
<td mat-cell *matCellDef="let element">
|
||||
<img src="https://placehold.co/200x200">
|
||||
<img [src]="element.image || 'https://placehold.co/200x200'" [alt]="element.image ? element.name : ''" width="200" height="200">
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
|
Reference in New Issue
Block a user