Skip to content

Commit 5b11635

Browse files
arvsrnBrendonovich
andauthored
feat(app): always show new session button (#39520)
Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com>
1 parent a9eda2e commit 5b11635

1 file changed

Lines changed: 19 additions & 21 deletions

File tree

packages/app/src/components/titlebar.tsx

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -395,27 +395,25 @@ export function Titlebar(props: { update?: TitlebarUpdate; debugTools?: { visibl
395395
}}
396396
onReorder={(keys) => tabsStoreActions.reorder(keys)}
397397
/>
398-
<Show when={!creating()}>
399-
<TooltipV2
400-
placement="bottom"
401-
value={
402-
<>
403-
{language.t("command.session.new")}
404-
<KeybindV2 keys={newTabTooltipKeybind(command)} variant="neutral" />
405-
</>
406-
}
407-
>
408-
<IconButtonV2
409-
type="button"
410-
variant="ghost-muted"
411-
size="large"
412-
class="shrink-0"
413-
icon={<IconV2 name="plus" />}
414-
onClick={openNewTab}
415-
aria-label={language.t("command.session.new")}
416-
/>
417-
</TooltipV2>
418-
</Show>
398+
<TooltipV2
399+
placement="bottom"
400+
value={
401+
<>
402+
{language.t("command.session.new")}
403+
<KeybindV2 keys={newTabTooltipKeybind(command)} variant="neutral" />
404+
</>
405+
}
406+
>
407+
<IconButtonV2
408+
type="button"
409+
variant="ghost-muted"
410+
size="large"
411+
class="shrink-0"
412+
icon={<IconV2 name="plus" />}
413+
onClick={openNewTab}
414+
aria-label={language.t("command.session.new")}
415+
/>
416+
</TooltipV2>
419417
<div class="flex-1" />
420418
<TitlebarV2Right state={v2RightState()} />
421419
</div>

0 commit comments

Comments
 (0)