{#if unreadCount > 0}
{unreadCount}{unreadCount >= 10 ? "+" : ""}
{/if}
{#if isOpen}
{#if loadingNextPage} {#each { length: 5 } as _, index}
{/each} {:else if notifications.length} {#each notifications as notification}
handleNotificationClick(data)} {notification} >
{/each} {:else}
{$_("no-notifications")}
{/if}
{/if}