summaryrefslogtreecommitdiff
path: root/web-ui/app/js/mixins/with_mail_edit_base.js
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/js/mixins/with_mail_edit_base.js')
-rw-r--r--web-ui/app/js/mixins/with_mail_edit_base.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web-ui/app/js/mixins/with_mail_edit_base.js b/web-ui/app/js/mixins/with_mail_edit_base.js
index 2882758c..181af736 100644
--- a/web-ui/app/js/mixins/with_mail_edit_base.js
+++ b/web-ui/app/js/mixins/with_mail_edit_base.js
@@ -59,9 +59,9 @@ define(
};
function thereAreRecipientsToDisplay() {
- return this.attr.recipientValues.to
- && this.attr.recipientValues.cc
- && !_.isEmpty(this.attr.recipientValues.to.concat(this.attr.recipientValues.cc));
+ return this.attr.recipientValues.to &&
+ this.attr.recipientValues.cc &&
+ !_.isEmpty(this.attr.recipientValues.to.concat(this.attr.recipientValues.cc));
}
this.render = function(template, context) {