{{ notification.timestamp | relativeDate }}
{{ notification.title }}
@if (!last) {
}
@if (todayNotifications.length > 0) {
Today
@for (notification of todayNotifications; track notification.timestamp; let last = $last) { } } @if (previousNotifications.length > 0) {
Previous
@for (notification of previousNotifications; track notification.timestamp; let last = $last) { } } @if (todayNotifications.length === 0 && previousNotifications.length === 0) {
No notifications
}