{#if loading}
Loading...
{:else if allNotifications.length === 0}
{:else}
| Time |
Event |
App |
Message |
Status |
{#each allNotifications as notification (notification.id)}
|
{new Date(notification.sentAt).toLocaleString()}
|
{eventLabel(notification.event)}
|
{notification.app?.name ?? '—'}
|
{notification.message}
|
{#if notification.readAt}
Read
{:else}
Unread
{/if}
|
{/each}
Page {currentPage}
{/if}