Notifications
@if (notifications().length === 0) {

No notifications

} @else {
@for (notification of notifications(); track notification.id; let i = $index) { @if (shouldShowSeparator(i, notifications())) {
New notifications
}
@if (notification.type === notificationType.SUCCESS) { check_circle } @else if (notification.type === notificationType.GENERAL) { info } @else if (notification.type === notificationType.WARNING) { warning } @else if (notification.type === notificationType.ERROR) { error } @else if (notification.type === notificationType.RELAY_PUBLISHING) { sync }
{{ notification.message }}
{{ notification.timestamp | date:'medium' }}
@if (isRelayPublishingNotification(notification)) { }
@if (!notification.read) { }
@if (i < notifications().length - 1) { } }
}