Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

crazywoola9440d7fe889a
diff --git a/web/app/components/base/chat/chat-with-history/config-panel/index.tsx b/web/app/components/base/chat/chat-with-history/config-panel/index.tsx
index d90e4025d31..cf12b35d086 100644
--- a/web/app/components/base/chat/chat-with-history/config-panel/index.tsx
+++ b/web/app/components/base/chat/chat-with-history/config-panel/index.tsx
@@ -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>