{#if $notificationDropdownOpen}
Notifications
{#if $totalUnreadCount > 0}
Mark all read
{/if}
Replies
{#if $replyNotifications.unreadCount > 0}
{$replyNotifications.unreadCount}
markCategoryRead("replies")}>read
{/if}
{#if $replyNotifications.items.length === 0}
No replies yet.
{:else} {#each $replyNotifications.items.slice(0, 10) as item (item.id)}
{truncate(item.content)}
{formatTime(item.created_at)}
{/each} {/if}
Reactions
{#if $reactionNotifications.unreadCount > 0}
{$reactionNotifications.unreadCount}
markCategoryRead("reactions")}>read
{/if}
{#if $reactionNotifications.items.length === 0}
No reactions yet.
{:else} {#each $reactionNotifications.items.slice(0, 10) as item (item.id)}
{item.content || '+'}
{formatTime(item.created_at)}
{/each} {/if}
Zaps
{#if $zapNotifications.unreadCount > 0}
{$zapNotifications.unreadCount}
markCategoryRead("zaps")}>read
{/if}
{#if $zapNotifications.items.length === 0}
No zaps yet.
{:else} {#each $zapNotifications.items.slice(0, 10) as item (item.id)}
Zap received
{formatTime(item.created_at)}
{/each} {/if}
{#if $totalUnreadDMs > 0 || $totalUnreadChannels > 0}
Messages
{#if $totalUnreadDMs > 0}
{$totalUnreadDMs} unread message{$totalUnreadDMs > 1 ? 's' : ''}
{/if} {#if $totalUnreadChannels > 0}
{$totalUnreadChannels} unread channel message{$totalUnreadChannels > 1 ? 's' : ''}
{/if}
{/if}
{/if}