From 736f269c49dddc6bf249e02c5afa48ab6c8ef638 Mon Sep 17 00:00:00 2001 From: Robert Coker Date: Thu, 26 Oct 2023 00:42:36 -0400 Subject: [PATCH] fix: Always reset CC/BCC emails when switching conversations (#8157) --- .../dashboard/components/widgets/conversation/ReplyBox.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue index 23f339f46..c0692b576 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue @@ -511,6 +511,8 @@ export default { currentChat(conversation) { const { can_reply: canReply } = conversation; + this.setCCAndToEmailsFromLastChat(); + if (this.isOnPrivateNote) { return; } @@ -521,7 +523,6 @@ export default { this.replyType = REPLY_EDITOR_MODES.NOTE; } - this.setCCAndToEmailsFromLastChat(); this.fetchAndSetReplyTo(); }, conversationIdByRoute(conversationId, oldConversationId) {