fix(tui): hide single session tab (#39408)

This commit is contained in:
Kit Langton 2026-07-28 18:25:46 -04:00 committed by GitHub
commit 43383d4fba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1185,7 +1185,7 @@ function App(props: { pair?: DialogPairCredentials }) {
<box flexGrow={1} minWidth={0} flexDirection="column">
<Show when={plugins.ready()}>
<box flexGrow={1} minHeight={0} flexDirection="column">
<Show when={sessionTabs.enabled() && sessionTabs.tabs().length > 0 && route.data.type !== "plugin"}>
<Show when={sessionTabs.enabled() && sessionTabs.tabs().length > 1 && route.data.type !== "plugin"}>
<SessionTabs />
</Show>
<Switch>