mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-19 11:10:57 +03:00
17 lines
1.0 KiB
HTML
17 lines
1.0 KiB
HTML
@if (notifications !== null && notifications.length === 0) {
|
|
<div style="text-align: center; margin: 10px;" i18n="No notifications available">No notifications available</div>
|
|
}
|
|
@if (notifications?.length > 0) {
|
|
<div>
|
|
<div class="notifications-list-parent">
|
|
<mat-chip-listbox [value]="selectedFilters" [multiple]="true" (change)="selectedFiltersChanged($event)">
|
|
@for (filter of notificationFilters | keyvalue: originalOrder; track filter) {
|
|
<mat-chip-option [value]="filter.key" [selected]="selectedFilters.includes(filter.key)" color="accent">{{filter.value.label}}</mat-chip-option>
|
|
}
|
|
</mat-chip-listbox>
|
|
<app-notifications-list class="notifications-list" [style.height]="list_height" (notificationAction)="notificationAction($event)" (deleteNotification)="deleteNotification($event)" [notifications]="filtered_notifications"></app-notifications-list>
|
|
</div>
|
|
<button style="margin: 10px 0px 2px 10px;" color="warn" (click)="deleteAllNotifications()" mat-stroked-button>Remove all</button>
|
|
</div>
|
|
}
|