Skip to content

Commit eaf633c

Browse files
committed
fix: fix broken tabs for apps
1 parent bf14434 commit eaf633c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

frontend/src/lib/components/apps/components/layout/AppTabs.svelte

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
selectedTabIndex: 0
4949
})
5050
51-
const titleBarHeight = 40; // Example height of a single accordion title bar in pixels
51+
const titleBarHeight = 40 // Example height of a single accordion title bar in pixels
5252
5353
function handleTabSelection() {
5454
selectedIndex = tabs?.indexOf(selected)
@@ -172,7 +172,8 @@
172172
</button>
173173
{/each}
174174
</div>
175-
{:else if resolvedConfig.tabsKind == 'accordion'}
175+
{/if}
176+
{#if resolvedConfig.tabsKind == 'accordion'}
176177
<div class="flex flex-col w-full">
177178
{#each tabs ?? [] as res, index}
178179
<div class="border-b">

0 commit comments

Comments
 (0)