fix: model selection does not show in API settings page (#1828)

This commit is contained in:
Louis 2024-01-29 10:34:09 +07:00 committed by GitHub
parent 642d7aacc9
commit 61d5c6abe8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -128,7 +128,8 @@ const TopBar = () => {
showing && 'border-l border-border'
)}
>
{activeThread && (
{((activeThread && mainViewState === MainViewState.Thread) ||
mainViewState === MainViewState.LocalServer) && (
<div className="flex h-full w-52 items-center justify-between px-4">
{showing && (
<div className="relative flex h-full items-center">