Skip to content

Commit

Permalink
fix: hide suspended feed in group tab trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2E committed Mar 15, 2024
1 parent b9b161d commit ba43976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/routes/feeds/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<Tabs.List>
{#each data.groups.sort((a, b) => a.id - b.id) as g}
<Tabs.Trigger value={g.id.toString()}>
{#if g.feeds.find((f) => f.failure) !== undefined}
{#if g.feeds.find((f) => f.failure && !f.suspended) !== undefined}
<AlertCircleIcon size="15" class="fill-destructive text-destructive-foreground mr-1" />
{/if}
{g.name}
Expand Down

0 comments on commit ba43976

Please sign in to comment.