{#if errorMessage} {/if} {#if unread.length === 0}

{m.chronik_inbox_zero_title()}

{m.chronik_inbox_zero_link()}
{:else}
{m.chronik_for_you_caption()} {m.chronik_for_you_count({ count: unread.length })}
{ errorMessage = null; optimisticMarkAllRead(); return async ({ result, update }) => { if (result.type === 'failure' || result.type === 'error') { errorMessage = m.notification_error_generic(); await update({ reset: false, invalidateAll: false }); } }; }} >
{/if}