fix: clear cc & bcc before setting it
This commit is contained in:
parent
60479554a2
commit
35c1d841d0
@ -383,7 +383,7 @@
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3 text-sm text-gray-600 leading-5">
|
<div class="mb-3 text-sm leading-5 text-gray-600">
|
||||||
<span class="mr-1">TO:</span>
|
<span class="mr-1">TO:</span>
|
||||||
<span>{{ activity.data.recipients }}</span>
|
<span>{{ activity.data.recipients }}</span>
|
||||||
<span v-if="activity.data.cc">, </span>
|
<span v-if="activity.data.cc">, </span>
|
||||||
@ -1022,6 +1022,8 @@ function reply(email, reply_all = false) {
|
|||||||
let recipients = email.recipients.split(',').map((r) => r.trim())
|
let recipients = email.recipients.split(',').map((r) => r.trim())
|
||||||
editor.toEmails = recipients
|
editor.toEmails = recipients
|
||||||
editor.cc = editor.bcc = false
|
editor.cc = editor.bcc = false
|
||||||
|
editor.ccEmails = []
|
||||||
|
editor.bccEmails = []
|
||||||
|
|
||||||
if (reply_all) {
|
if (reply_all) {
|
||||||
let cc = email.cc?.split(',').map((r) => r.trim())
|
let cc = email.cc?.split(',').map((r) => r.trim())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user