chore: generate

This commit is contained in:
opencode-agent[bot] 2026-06-05 22:09:28 +00:00
commit 93a58f55ca
3 changed files with 3 additions and 13 deletions

View file

@ -19,13 +19,7 @@ export const ServerRowMenu: Component<{
const isDefault = () => props.controller.defaultKey() === key const isDefault = () => props.controller.defaultKey() === key
return ( return (
<MenuV2 <MenuV2 gutter={4} modal={false} placement="bottom-end" open={props.open} onOpenChange={props.onOpenChange}>
gutter={4}
modal={false}
placement="bottom-end"
open={props.open}
onOpenChange={props.onOpenChange}
>
<MenuV2.Trigger <MenuV2.Trigger
as={IconButtonV2} as={IconButtonV2}
variant="ghost-muted" variant="ghost-muted"

View file

@ -112,9 +112,7 @@ export const SettingsServersV2: Component = () => {
<Show when={health()?.version && item.type === "http"}> </Show> <Show when={health()?.version && item.type === "http"}> </Show>
<Show <Show
when={item.type === "http" && item.http.username} when={item.type === "http" && item.http.username}
fallback={ fallback={<Show when={item.type === "http"}>{language.t("server.row.noUsername")}</Show>}
<Show when={item.type === "http"}>{language.t("server.row.noUsername")}</Show>
}
> >
{item.http.username} {item.http.username}
</Show> </Show>

View file

@ -595,9 +595,7 @@ function HomeServerRow(props: {
<div class="flex size-4 shrink-0 items-center justify-center"> <div class="flex size-4 shrink-0 items-center justify-center">
<ServerHealthIndicator health={props.health} /> <ServerHealthIndicator health={props.health} />
</div> </div>
<span class={HOME_PROJECT_NAV_LABEL}> <span class={HOME_PROJECT_NAV_LABEL}>{props.server.displayName ?? new URL(props.server.http.url).host}</span>
{props.server.displayName ?? new URL(props.server.http.url).host}
</span>
</button> </button>
<div <div
class="absolute right-1 top-1/2 flex -translate-y-1/2 items-center gap-0.5 opacity-0 transition-opacity group-hover/server:opacity-100 focus-within:opacity-100 data-[menu=true]:opacity-100" class="absolute right-1 top-1/2 flex -translate-y-1/2 items-center gap-0.5 opacity-0 transition-opacity group-hover/server:opacity-100 focus-within:opacity-100 data-[menu=true]:opacity-100"