diff options
Diffstat (limited to 'src/components/NewMessageModal.vue')
-rw-r--r-- | src/components/NewMessageModal.vue | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/components/NewMessageModal.vue b/src/components/NewMessageModal.vue index 5b2280db2..7e0dc9a91 100644 --- a/src/components/NewMessageModal.vue +++ b/src/components/NewMessageModal.vue @@ -10,6 +10,8 @@ :bcc="composerData.bcc" :subject="composerData.subject" :body="composerData.body" + :reply-to="composerData.replyTo" + :draft-id="composerData.draftId" :draft="saveDraft" :send="sendMessage" :forwarded-messages="forwardedMessages" /> @@ -32,7 +34,6 @@ export default { data() { return { original: undefined, - originalBody: undefined, } }, computed: { @@ -40,6 +41,15 @@ export default { if (this.composerMessage.type === 'outbox') { return t('mail', 'Outbox draft') } + if (this.composerData.draftId !== undefined) { + return t('mail', 'Draft') + } + if (this.composerData.replyTo) { + return t('mail', 'Reply') + } + if (this.composerData.forwardFrom) { + return t('mail', 'Forward') + } return t('mail', 'New message') }, composerMessage() { |