fix messages v6
This commit is contained in:
parent
9a30a8100d
commit
c0e053ce18
1 changed files with 1 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ export default function Chat({ reactFlowInstance }) {
|
||||||
setChatValue("");
|
setChatValue("");
|
||||||
addChatHistory(message, true);
|
addChatHistory(message, true);
|
||||||
sendAll({...reactFlowInstance.toObject(),message}).then((r) => {console.log(r.data.result); addChatHistory(r.data.result, false);});
|
sendAll({...reactFlowInstance.toObject(),message}).then((r) => {console.log(r.data.result); addChatHistory(r.data.result, false);});
|
||||||
|
addChatHistory('teste', false);
|
||||||
} else {
|
} else {
|
||||||
setErrorData({title: 'Error sending message', list:['Chat nodes are missing.']})
|
setErrorData({title: 'Error sending message', list:['Chat nodes are missing.']})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue