diff --git a/frontend/src/lib/components/admin/SourcesTab.svelte b/frontend/src/lib/components/admin/SourcesTab.svelte index 0726238..f3f3b11 100644 --- a/frontend/src/lib/components/admin/SourcesTab.svelte +++ b/frontend/src/lib/components/admin/SourcesTab.svelte @@ -220,21 +220,21 @@
{source.name}
-
- {#if justCleared?.id === source.id} - ✓ cleared {justCleared.items} item(s), {justCleared.articles} article(s) - {:else if justPolled?.id === source.id} - {justPolled.count > 0 ? `✓ ${justPolled.count} new item(s)` : '✓ up to date, nothing new'} - {:else if source.lastError} - last poll failed · {source.lastError} - {:else} - {source.url} - {/if} -
+ {#if justCleared?.id === source.id || justPolled?.id === source.id || source.lastError} +
+ {#if justCleared?.id === source.id} + ✓ cleared {justCleared.items} item(s), {justCleared.articles} article(s) + {:else if justPolled?.id === source.id} + {justPolled.count > 0 ? `✓ ${justPolled.count} new item(s)` : '✓ up to date, nothing new'} + {:else if source.lastError} + last poll failed · {source.lastError} + {/if} +
+ {/if}
{source.type.toUpperCase()} {source.category.join(', ')}