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
This commit is contained in:
Louis 2023-10-27 14:14:27 +07:00 committed by GitHub
parent d695a37e1e
commit f175d6cfb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -43,7 +43,15 @@ const InputToolbar: React.FC = () => {
}
if (!activeConvoId) {
return null
return (
<div className="my-3 flex justify-center gap-2">
<SecondaryButton
onClick={onNewConversationClick}
title="New Conversation"
icon={<PlusIcon width={16} height={16} />}
/>
</div>
)
}
if (
(activeConvoId && inputState === 'model-mismatch') ||

View File

@ -192,7 +192,7 @@ const PluginCatalog = () => {
Installed{' '}
{hasUpdateVersionPlugins
? `v${installedPlugin.version}`
: 'latest version'}
: 'the latest version'}
</p>
)}
{isActivePlugin && hasUpdateVersionPlugins && (