checking type from chat history
This commit is contained in:
parent
aa8a45bab6
commit
2196111bf2
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ export default function ChatModal({
|
||||||
type: string;
|
type: string;
|
||||||
data?:string;
|
data?:string;
|
||||||
}) => {
|
}) => {
|
||||||
if(chatItem.type==="file"){
|
if(chatItem.type==="end"){
|
||||||
newChatHistory.push({
|
newChatHistory.push({
|
||||||
isSend: !chatItem.is_bot,
|
isSend: !chatItem.is_bot,
|
||||||
message: chatItem.message,
|
message: chatItem.message,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue