From f175d6cfb918d36e6cc4608785721972164274bc Mon Sep 17 00:00:00 2001 From: Louis <133622055+louis-jan@users.noreply.github.com> Date: Fri, 27 Oct 2023 14:14:27 +0700 Subject: [PATCH] chore: missing create conversation button when there is no conversation is selected (#478) * chore: missing create conversation button when there is no conversation selected * chore: typo --- web/app/_components/InputToolbar/index.tsx | 10 +++++++++- web/screens/Settings/CorePlugins/PluginsCatalog.tsx | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/web/app/_components/InputToolbar/index.tsx b/web/app/_components/InputToolbar/index.tsx index 4c61e3b39..4895d90cf 100644 --- a/web/app/_components/InputToolbar/index.tsx +++ b/web/app/_components/InputToolbar/index.tsx @@ -43,7 +43,15 @@ const InputToolbar: React.FC = () => { } if (!activeConvoId) { - return null + return ( +
+ } + /> +
+ ) } if ( (activeConvoId && inputState === 'model-mismatch') || diff --git a/web/screens/Settings/CorePlugins/PluginsCatalog.tsx b/web/screens/Settings/CorePlugins/PluginsCatalog.tsx index 4be44ecdc..97af6864b 100644 --- a/web/screens/Settings/CorePlugins/PluginsCatalog.tsx +++ b/web/screens/Settings/CorePlugins/PluginsCatalog.tsx @@ -192,7 +192,7 @@ const PluginCatalog = () => { Installed{' '} {hasUpdateVersionPlugins ? `v${installedPlugin.version}` - : 'latest version'} + : 'the latest version'}

)} {isActivePlugin && hasUpdateVersionPlugins && (