mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-09 00:47:59 +08:00
fix(agent): hide log sheet when closing chat sheet (#17927)
This commit is contained in:
@@ -417,7 +417,12 @@ function AgentCanvas({ drawerVisible, hideDrawer }: IProps) {
|
||||
<AgentChatLogContext.Provider
|
||||
value={{ addEventList, setCurrentMessageId }}
|
||||
>
|
||||
<ChatSheet hideModal={hideRunOrChatDrawer}></ChatSheet>
|
||||
<ChatSheet
|
||||
hideModal={() => {
|
||||
hideRunOrChatDrawer();
|
||||
hideLogSheet();
|
||||
}}
|
||||
></ChatSheet>
|
||||
</AgentChatLogContext.Provider>
|
||||
</AgentChatContext.Provider>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user