fix: the behavior of save action in opening config panel (#2736)
This commit is contained in:
parent
24809fce07
commit
9440d7fe88
1 changed files with 4 additions and 1 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue