Allow uploading images
This commit is contained in:
1 parent
a06cbe1759
commit
877d69f4c9
3 files changed
+40
-11
No files matched your search
@@ -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