fix(web): исправить Base UI error #31 в App Switcher
Docker / build (push) Failing after 21s

DropdownMenuLabel перенесён внутрь DropdownMenuGroup; для внешних ссылок добавлен nativeButton={false}.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Denozordec
2026-06-30 15:32:22 +07:00
co-authored by Cursor
parent ea9c996838
commit eaa5db38bf
+8 -4
View File
@@ -59,10 +59,10 @@ export function AppSwitcher() {
align="start"
sideOffset={4}
>
<DropdownMenuLabel className="text-xs text-muted-foreground">
{config.menuLabel}
</DropdownMenuLabel>
<DropdownMenuGroup>
<DropdownMenuLabel className="text-xs text-muted-foreground">
{config.menuLabel}
</DropdownMenuLabel>
{config.apps.map((app) => {
const Icon = APP_SWITCHER_ICONS[app.icon]
const isCurrent = app.id === CURRENT_APP_ID
@@ -78,7 +78,11 @@ export function AppSwitcher() {
}
return (
<DropdownMenuItem key={app.id} render={<a href={app.url} />}>
<DropdownMenuItem
key={app.id}
nativeButton={false}
render={<a href={app.url} />}
>
<Icon />
{app.name}
{app.shortcut ? (