fix(console): link dev Go navigation to Console (#53430)

This commit is contained in:
Adam authored and GitHub committed 2026-10-05 15:38:15 -05:00
1 parent 3569ebe5d6
commit 219c2268c3
1 file changed
+16 -2
+16 -2
View File
@@ -165,7 +165,14 @@ export function Header(props: { zen?: boolean; go?: boolean; hideGetStarted?: bo
</Show>
</li>
<li>
<A href={language.route("/go")}>{i18n.t("nav.go")}</A>
<Show
when={config.consoleMarketingEnabled}
fallback={<A href={language.route("/go")}>{i18n.t("nav.go")}</A>}
>
<a href="/console/go" target="_self">
{i18n.t("nav.go")}
</a>
</Show>
</li>
<li>
<Show
@@ -282,7 +289,14 @@ export function Header(props: { zen?: boolean; go?: boolean; hideGetStarted?: bo
</Show>
<Show when={!props.go}>
<li>
<A href={language.route("/go")}>{i18n.t("nav.go")}</A>
<Show
when={config.consoleMarketingEnabled}
fallback={<A href={language.route("/go")}>{i18n.t("nav.go")}</A>}
>
<a href="/console/go" target="_self">
{i18n.t("nav.go")}
</a>
</Show>
</li>
</Show>
<li>