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:
parent
d695a37e1e
commit
f175d6cfb9
@ -43,7 +43,15 @@ const InputToolbar: React.FC = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!activeConvoId) {
|
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 (
|
if (
|
||||||
(activeConvoId && inputState === 'model-mismatch') ||
|
(activeConvoId && inputState === 'model-mismatch') ||
|
||||||
|
|||||||
@ -192,7 +192,7 @@ const PluginCatalog = () => {
|
|||||||
Installed{' '}
|
Installed{' '}
|
||||||
{hasUpdateVersionPlugins
|
{hasUpdateVersionPlugins
|
||||||
? `v${installedPlugin.version}`
|
? `v${installedPlugin.version}`
|
||||||
: 'latest version'}
|
: 'the latest version'}
|
||||||
</p>
|
</p>
|
||||||
)}
|
)}
|
||||||
{isActivePlugin && hasUpdateVersionPlugins && (
|
{isActivePlugin && hasUpdateVersionPlugins && (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user