fix: Always reset CC/BCC emails when switching conversations (#8157)

This commit is contained in:
Robert Coker
2023-10-26 00:42:36 -04:00
committed by GitHub
parent b067acfd4a
commit 736f269c49

View File

@@ -511,6 +511,8 @@ export default {
currentChat(conversation) { currentChat(conversation) {
const { can_reply: canReply } = conversation; const { can_reply: canReply } = conversation;
this.setCCAndToEmailsFromLastChat();
if (this.isOnPrivateNote) { if (this.isOnPrivateNote) {
return; return;
} }
@@ -521,7 +523,6 @@ export default {
this.replyType = REPLY_EDITOR_MODES.NOTE; this.replyType = REPLY_EDITOR_MODES.NOTE;
} }
this.setCCAndToEmailsFromLastChat();
this.fetchAndSetReplyTo(); this.fetchAndSetReplyTo();
}, },
conversationIdByRoute(conversationId, oldConversationId) { conversationIdByRoute(conversationId, oldConversationId) {