mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 19:48:08 +00:00
chore: Add null checks (#8100)
This commit is contained in:
@@ -1085,7 +1085,7 @@ export default {
|
||||
this.conversationId
|
||||
);
|
||||
|
||||
this.inReplyTo = this.currentChat.messages.find(message => {
|
||||
this.inReplyTo = this.currentChat?.messages?.find(message => {
|
||||
if (message.id === replyToMessageId) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user