Browse Source

fix: the behavior of save action in opening config panel (#2736)

tags/0.5.9
crazywoola 1 year ago
parent
commit
9440d7fe88
No account linked to committer's email address

+ 4
- 1
web/app/components/base/chat/chat-with-history/config-panel/index.tsx View File

@@ -95,7 +95,10 @@ const ConfigPanel = () => {
<Button
type='primary'
className='mr-2 text-sm font-medium'
onClick={handleStartChat}
onClick={() => {
setCollapsed(true)
handleStartChat()
}}
>
{t('common.operation.save')}
</Button>

Loading…
Cancel
Save