feat: Display sent status of emails in email channel (#3125)

This commit is contained in:
Pranav Raj S
2021-10-14 12:55:46 +05:30
committed by GitHub
parent 5c30bc3e2b
commit 99abbb8158
18 changed files with 187 additions and 55 deletions

View File

@@ -22,8 +22,8 @@
/>
<reply-email-head
v-if="showReplyHead"
@set-emails="setCcEmails"
:clear-mails="clearMails"
@set-emails="setCcEmails"
/>
<resizable-text-area
v-if="!showRichContentEditor"
@@ -278,8 +278,8 @@ export default {
}
return !this.message.trim().replace(/\n/g, '').length;
},
showReplyHead(){
return this.isAnEmailChannel;
showReplyHead() {
return !this.isOnPrivateNote && this.isAnEmailChannel;
},
},
watch: {
@@ -465,11 +465,11 @@ export default {
messagePayload.file = attachment.resource.file;
}
if(this.ccEmails) {
if (this.ccEmails) {
messagePayload.ccEmails = this.ccEmails;
}
if(this.bccEmails) {
if (this.bccEmails) {
messagePayload.bccEmails = this.bccEmails;
}
@@ -480,8 +480,8 @@ export default {
},
setCcEmails(value) {
this.bccEmails = value.bccEmails;
this.ccEmails = value.ccEmails
}
this.ccEmails = value.ccEmails;
},
},
};
</script>