{#if $recentActivity.length === 0}
No recent activity found!
{:else} {#each $recentActivity.slice(0, limit) as { type, event, count = 0 } (event.id)} {#if type === "message"}
{:else if event.kind === THREAD}
{:else if event.kind === CLASSIFIED}
{:else if event.kind === ZAP_GOAL}
{:else if event.kind === EVENT_TIME}
{:else}
{/if} {/each} {/if}