Skip to content

Commit d971c5a

Browse files
committed
minor changes
1 parent bef3a17 commit d971c5a

File tree

6 files changed

+6
-1
lines changed

6 files changed

+6
-1
lines changed
6.93 KB
Loading
68.6 KB
Loading
6.93 KB
Loading
68.6 KB
Loading

frontend/src/app/components/blog-entry/view-blog-entry/view-blog-entry.component.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
<mat-card-header>
44
<div style="display: flex; flex-direction: row;">
55
<div>
6-
<img src="{{origin}}/api/blog-entries/image/{{blogEntry.headerImage}}" class="header-image">
6+
<img *ngIf="blogEntry.headerImage !== null; else placeholderImage"
7+
src="{{origin}}/api/blog-entries/image/{{blogEntry.headerImage}}" class="header-image">
8+
<ng-template #placeholderImage>
9+
<img class="header-image" src="../../../assets/placeholders/placeholder-blog-entry.png">
10+
</ng-template>
711
</div>
812
<div style="margin-left: 20px;">
913
<h1>{{blogEntry.title}}</h1>

frontend/src/app/components/user/users/users.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ <h1 style="text-align: center;">All Users</h1>
3737
<mat-cell *matCellDef="let row">{{row.role}}</mat-cell>
3838
</ng-container>
3939
</mat-table>
40+
4041
<mat-paginator
4142
[length]="dataSource.meta.totalItems"
4243
[pageSize]="dataSource.meta.itemsPerPage"

0 commit comments

Comments
 (0)