diff --git a/frontend/src/components/Activities.vue b/frontend/src/components/Activities.vue index f1d6f533..c23b5f05 100644 --- a/frontend/src/components/Activities.vue +++ b/frontend/src/components/Activities.vue @@ -354,7 +354,7 @@
-
+
{{ activity.data.sender_full_name }} @@ -370,12 +370,29 @@ +
+
+ TO: + {{ activity.data.recipients }} + , + CC: + {{ activity.data.cc }} + , + BCC: + {{ activity.data.bcc }} +
r.trim()) + editor.toEmails = recipients + editor.cc = editor.bcc = false + editor.ccEmails = [] + editor.bccEmails = [] + + if (reply_all) { + let cc = email.cc?.split(',').map((r) => r.trim()) + let bcc = email.bcc?.split(',').map((r) => r.trim()) + + editor.cc = cc ? true : false + editor.bcc = bcc ? true : false + + editor.ccEmails = cc + editor.bccEmails = bcc + } + + editor.editor .chain() .clearContent() .insertContent(message) diff --git a/frontend/src/components/CommunicationArea.vue b/frontend/src/components/CommunicationArea.vue index a8cfe737..cb7f12c9 100644 --- a/frontend/src/components/CommunicationArea.vue +++ b/frontend/src/components/CommunicationArea.vue @@ -1,21 +1,35 @@