fix: ng update core 20

This commit is contained in:
2025-06-09 14:12:21 +02:00
parent 5781f4ba61
commit 0e2e61ac34
25 changed files with 2153 additions and 6678 deletions

View File

@@ -1,17 +1,25 @@
<mat-spinner *ngIf="loading"></mat-spinner>
<mat-card *ngFor="let item of news">
@if (loading) {
<mat-spinner></mat-spinner>
}
@for (item of news; track item) {
<mat-card>
<mat-card-header>
<mat-icon *ngIf="item.pinned">push_pin</mat-icon>
<mat-card-title>{{item.title}}</mat-card-title>
@if (item.pinned) {
<mat-icon>push_pin</mat-icon>
}
<mat-card-title>{{item.title}}</mat-card-title>
</mat-card-header>
<mat-card-content [innerHTML]="item.content">
</mat-card-content>
<mat-card-footer>
<p>{{item.date | date:'d-LL-yyyy HH:mm'}}</p>
<p>{{item.date | date:'d-LL-yyyy HH:mm'}}</p>
</mat-card-footer>
</mat-card>
<mat-card *ngIf="news.length == 0">
</mat-card>
}
@if (news.length == 0) {
<mat-card>
<p>
Brak wiadomości.
Brak wiadomości.
</p>
</mat-card>
</mat-card>
}