MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / resetChatDialog

Function resetChatDialog

packages/ui/src/views/chatmessage/ChatPopUp.jsx:71–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 }
70
71 const resetChatDialog = () => {
72 const props = {
73 ...expandDialogProps,
74 open: false
75 }
76 setExpandDialogProps(props)
77 clearAgentflowNodeStatus()
78 setTimeout(() => {
79 const resetProps = {
80 ...expandDialogProps,
81 open: true
82 }
83 setExpandDialogProps(resetProps)
84 }, 500)
85 }
86
87 const clearChat = async () => {
88 const confirmPayload = {

Callers 1

clearChatFunction · 0.85

Calls 1

clearAgentflowNodeStatusFunction · 0.85

Tested by

no test coverage detected