diff options
Diffstat (limited to 'web-ui/app/js/services')
-rw-r--r-- | web-ui/app/js/services/model/mail.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/js/services/model/mail.js b/web-ui/app/js/services/model/mail.js index 17fb25b0..43ab4b86 100644 --- a/web-ui/app/js/services/model/mail.js +++ b/web-ui/app/js/services/model/mail.js @@ -30,7 +30,7 @@ define(['helpers/contenttype'], } function isInTrash() { - return this.mailbox.toLowerCase() === 'trash'; + return this.mailbox && this.mailbox.toLowerCase() === 'trash'; } function setDraftReplyFor(ident) { |