diff --git a/web/src/lib/components/ui/Tabs.svelte b/web/src/lib/components/ui/Tabs.svelte index 6f905d0d..c02f8110 100644 --- a/web/src/lib/components/ui/Tabs.svelte +++ b/web/src/lib/components/ui/Tabs.svelte @@ -13,6 +13,9 @@ - - {#each tabs as tab (tab.id)} - {@const isActive = active === tab.id} + + {#if !vertical} + + {/if} + {#each items as tab, i (tab.id)} + {@const isSelected = selected === tab.id} {@const Glyph = tab.icon} {#if Glyph} @@ -67,8 +152,10 @@ {/if} {#if tab.count} - {tab.count}{tab.count} {/if}