feat(app): always show new session button (#39520)
Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com>
This commit is contained in:
@@ -395,27 +395,25 @@ export function Titlebar(props: { update?: TitlebarUpdate; debugTools?: { visibl
|
|||||||
}}
|
}}
|
||||||
onReorder={(keys) => tabsStoreActions.reorder(keys)}
|
onReorder={(keys) => tabsStoreActions.reorder(keys)}
|
||||||
/>
|
/>
|
||||||
<Show when={!creating()}>
|
<TooltipV2
|
||||||
<TooltipV2
|
placement="bottom"
|
||||||
placement="bottom"
|
value={
|
||||||
value={
|
<>
|
||||||
<>
|
{language.t("command.session.new")}
|
||||||
{language.t("command.session.new")}
|
<KeybindV2 keys={newTabTooltipKeybind(command)} variant="neutral" />
|
||||||
<KeybindV2 keys={newTabTooltipKeybind(command)} variant="neutral" />
|
</>
|
||||||
</>
|
}
|
||||||
}
|
>
|
||||||
>
|
<IconButtonV2
|
||||||
<IconButtonV2
|
type="button"
|
||||||
type="button"
|
variant="ghost-muted"
|
||||||
variant="ghost-muted"
|
size="large"
|
||||||
size="large"
|
class="shrink-0"
|
||||||
class="shrink-0"
|
icon={<IconV2 name="plus" />}
|
||||||
icon={<IconV2 name="plus" />}
|
onClick={openNewTab}
|
||||||
onClick={openNewTab}
|
aria-label={language.t("command.session.new")}
|
||||||
aria-label={language.t("command.session.new")}
|
/>
|
||||||
/>
|
</TooltipV2>
|
||||||
</TooltipV2>
|
|
||||||
</Show>
|
|
||||||
<div class="flex-1" />
|
<div class="flex-1" />
|
||||||
<TitlebarV2Right state={v2RightState()} />
|
<TitlebarV2Right state={v2RightState()} />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user