fix: Adding a private note clears the CC field in an Email inbox (#5366)
This commit is contained in:
parent
8f873a34a2
commit
f5e360fd4d
1 changed files with 7 additions and 1 deletions
|
@ -553,6 +553,9 @@ export default {
|
||||||
}
|
}
|
||||||
const messagePayload = this.getMessagePayload(newMessage);
|
const messagePayload = this.getMessagePayload(newMessage);
|
||||||
this.clearMessage();
|
this.clearMessage();
|
||||||
|
if (!this.isPrivate) {
|
||||||
|
this.clearEmailField();
|
||||||
|
}
|
||||||
this.sendMessage(messagePayload);
|
this.sendMessage(messagePayload);
|
||||||
this.hideEmojiPicker();
|
this.hideEmojiPicker();
|
||||||
this.$emit('update:popoutReplyBox', false);
|
this.$emit('update:popoutReplyBox', false);
|
||||||
|
@ -601,9 +604,11 @@ export default {
|
||||||
clearMessage() {
|
clearMessage() {
|
||||||
this.message = '';
|
this.message = '';
|
||||||
this.attachedFiles = [];
|
this.attachedFiles = [];
|
||||||
|
this.isRecordingAudio = false;
|
||||||
|
},
|
||||||
|
clearEmailField() {
|
||||||
this.ccEmails = '';
|
this.ccEmails = '';
|
||||||
this.bccEmails = '';
|
this.bccEmails = '';
|
||||||
this.isRecordingAudio = false;
|
|
||||||
},
|
},
|
||||||
toggleEmojiPicker() {
|
toggleEmojiPicker() {
|
||||||
this.showEmojiPicker = !this.showEmojiPicker;
|
this.showEmojiPicker = !this.showEmojiPicker;
|
||||||
|
@ -613,6 +618,7 @@ export default {
|
||||||
this.isRecorderAudioStopped = !this.isRecordingAudio;
|
this.isRecorderAudioStopped = !this.isRecordingAudio;
|
||||||
if (!this.isRecordingAudio) {
|
if (!this.isRecordingAudio) {
|
||||||
this.clearMessage();
|
this.clearMessage();
|
||||||
|
this.clearEmailField();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
toggleAudioRecorderPlayPause() {
|
toggleAudioRecorderPlayPause() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue