From 61d5c6abe81709e464284522b49ae16cf21f0fd4 Mon Sep 17 00:00:00 2001 From: Louis Date: Mon, 29 Jan 2024 10:34:09 +0700 Subject: [PATCH] fix: model selection does not show in API settings page (#1828) --- web/containers/Layout/TopBar/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/containers/Layout/TopBar/index.tsx b/web/containers/Layout/TopBar/index.tsx index 8762152ab..f72f5f066 100644 --- a/web/containers/Layout/TopBar/index.tsx +++ b/web/containers/Layout/TopBar/index.tsx @@ -128,7 +128,8 @@ const TopBar = () => { showing && 'border-l border-border' )} > - {activeThread && ( + {((activeThread && mainViewState === MainViewState.Thread) || + mainViewState === MainViewState.LocalServer) && (
{showing && (