diff --git a/app/javascript/dashboard/components-next/NewConversation/components/ComposeNewConversationForm.vue b/app/javascript/dashboard/components-next/NewConversation/components/ComposeNewConversationForm.vue index 77267707b..74836219b 100644 --- a/app/javascript/dashboard/components-next/NewConversation/components/ComposeNewConversationForm.vue +++ b/app/javascript/dashboard/components-next/NewConversation/components/ComposeNewConversationForm.vue @@ -200,6 +200,7 @@ const setSelectedContact = async ({ value, action, ...rest }) => { const handleInboxAction = ({ value, action, ...rest }) => { v$.value.$reset(); + state.message = ''; emit('updateTargetInbox', { ...rest }); showInboxesDropdown.value = false; state.attachedFiles = []; @@ -220,6 +221,7 @@ const removeSignatureFromMessage = () => { const removeTargetInbox = value => { v$.value.$reset(); removeSignatureFromMessage(); + state.message = ''; emit('updateTargetInbox', value); state.attachedFiles = []; }; @@ -227,6 +229,7 @@ const removeTargetInbox = value => { const clearSelectedContact = () => { removeSignatureFromMessage(); emit('clearSelectedContact'); + state.message = ''; state.attachedFiles = []; }; diff --git a/app/javascript/dashboard/components-next/NewConversation/components/MessageEditor.vue b/app/javascript/dashboard/components-next/NewConversation/components/MessageEditor.vue index 2cda75e53..ef523a288 100644 --- a/app/javascript/dashboard/components-next/NewConversation/components/MessageEditor.vue +++ b/app/javascript/dashboard/components-next/NewConversation/components/MessageEditor.vue @@ -1,9 +1,10 @@