mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Update dependencies
This commit is contained in:
parent
ba8bf15b4c
commit
08333610ce
8 changed files with 820 additions and 628 deletions
|
|
@ -363,7 +363,8 @@ class AttachmentModel extends AbstractModel {
|
|||
isFramed() {
|
||||
return (
|
||||
this.framed &&
|
||||
(GlobalsData.__APP__ && GlobalsData.__APP__.googlePreviewSupported()) &&
|
||||
GlobalsData.__APP__ &&
|
||||
GlobalsData.__APP__.googlePreviewSupported() &&
|
||||
!(this.isPdf() && bAllowPdfPreview) &&
|
||||
!this.isText() &&
|
||||
!this.isImage()
|
||||
|
|
|
|||
|
|
@ -203,8 +203,9 @@ class MessageModel extends AbstractModel {
|
|||
getEmails(properties) {
|
||||
return _.compact(
|
||||
_.uniq(
|
||||
_.map(_.reduce(properties, (carry, property) => carry.concat(this[property]), []), (oItem) =>
|
||||
oItem ? oItem.email : ''
|
||||
_.map(
|
||||
_.reduce(properties, (carry, property) => carry.concat(this[property]), []),
|
||||
(oItem) => (oItem ? oItem.email : '')
|
||||
)
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue