Unverified Commit 9440d7fe authored by crazywoola's avatar crazywoola Committed by GitHub

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

parent 24809fce
...@@ -95,7 +95,10 @@ const ConfigPanel = () => { ...@@ -95,7 +95,10 @@ const ConfigPanel = () => {
<Button <Button
type='primary' type='primary'
className='mr-2 text-sm font-medium' className='mr-2 text-sm font-medium'
onClick={handleStartChat} onClick={() => {
setCollapsed(true)
handleStartChat()
}}
> >
{t('common.operation.save')} {t('common.operation.save')}
</Button> </Button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment