{#if $notificationDropdownOpen}
Notifications {#if $totalUnreadCount > 0} {/if}
{#if $replyNotifications.unreadCount > 0} {$replyNotifications.unreadCount} {/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}
{#if $reactionNotifications.unreadCount > 0} {$reactionNotifications.unreadCount} {/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}
{#if $zapNotifications.unreadCount > 0} {$zapNotifications.unreadCount} {/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}
{#if $totalUnreadDMs > 0}
{$totalUnreadDMs} unread message{$totalUnreadDMs > 1 ? 's' : ''}
{/if} {#if $totalUnreadChannels > 0}
{$totalUnreadChannels} unread channel message{$totalUnreadChannels > 1 ? 's' : ''}
{/if}
{/if}
{/if}