mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-20 18:57:17 +03:00
fix(app): drop the models line when a connection adds no models (#62119)
This commit is contained in:
@@ -249,7 +249,10 @@ export function createProviderDialogController(options: {
|
||||
variant: "success",
|
||||
icon: "circle-check",
|
||||
title: language.t("provider.connect.toast.connected.title", { provider: name }),
|
||||
description: language.t("provider.connect.toast.connected.description", { provider: name }),
|
||||
description:
|
||||
connectionModels().length > 0
|
||||
? language.t("provider.connect.toast.connected.description", { provider: name })
|
||||
: undefined,
|
||||
})
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user