fix(tui): always show session tab (#39429)

This commit is contained in:
Kit Langton 2026-07-28 22:33:34 -04:00 committed by GitHub
parent 7b775c2582
commit a7b2ea94e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1197,7 +1197,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 > 1 && route.data.type !== "plugin"}>
<Show when={sessionTabs.enabled() && sessionTabs.tabs().length > 0 && route.data.type !== "plugin"}>
<SessionTabs />
</Show>
<Switch>