Skip to content

Commit

Permalink
fix: reset email box on discard
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Feb 7, 2024
1 parent 838f592 commit 3e1b3d9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/src/components/CommunicationArea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@
:discardButtonProps="{
onClick: () => {
showEmailBox = false
newEmailEditor.subject = subject
newEmailEditor.toEmails = doc.data.email ? [doc.data.email] : []
newEmailEditor.ccEmails = []
newEmailEditor.bccEmails = []
newEmailEditor.cc = false
newEmailEditor.bcc = false
newEmail = ''
},
}"
Expand Down

0 comments on commit 3e1b3d9

Please sign in to comment.