diff --git a/cptr/frontend/src/routes/+page.svelte b/cptr/frontend/src/routes/+page.svelte index dea2d53..c095fcb 100644 --- a/cptr/frontend/src/routes/+page.svelte +++ b/cptr/frontend/src/routes/+page.svelte @@ -1132,6 +1132,9 @@ {#if continuation} + {@const unreadCount = + $workspaceList.find((workspace) => workspace.path === continuation.path) + ?.unread_count ?? 0}

{$t('home.continue')} @@ -1141,10 +1144,22 @@ onclick={() => quickOpen(continuation.path)} > - - {continuation.name} + + + {continuation.name} + + {#if unreadCount > 0} + + {new Intl.NumberFormat(undefined, { + notation: 'compact', + compactDisplay: 'short' + }).format(unreadCount)} + + {/if} workspace.path === item.path) + ?.unread_count ?? 0}