Update dependencies

This commit is contained in:
RainLoop Team 2019-12-24 22:05:46 +03:00
parent ba8bf15b4c
commit 08333610ce
8 changed files with 820 additions and 628 deletions

View file

@ -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()

View file

@ -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 : '')
)
)
);

View file

@ -191,7 +191,11 @@ class AbstractSettingsScreen extends AbstractScreen {
}
};
return [['{subname}/', rules], ['{subname}', rules], ['', rules]];
return [
['{subname}/', rules],
['{subname}', rules],
['', rules]
];
}
}

View file

@ -87,7 +87,10 @@ class PgpUserStore {
return keys
? returnWrapKeys
? keys
: _.flatten(_.map(keys, (key) => key.getNativeKeys()), true)
: _.flatten(
_.map(keys, (key) => key.getNativeKeys()),
true
)
: [null];
}),
true

View file

@ -1861,7 +1861,10 @@ class ComposePopupView extends AbstractViewNext {
* @returns {Array}
*/
getAttachmentsDownloadsForUpload() {
return _.map(_.filter(this.attachments(), (item) => item && '' === item.tempName()), (item) => item.id);
return _.map(
_.filter(this.attachments(), (item) => item && '' === item.tempName()),
(item) => item.id
);
}
resizerTrigger() {

View file

@ -37,7 +37,10 @@ class FolderSystemPopupView extends AbstractViewNext {
[],
FolderStore.folderList(),
FolderStore.folderListSystemNames(),
[['', this.sChooseOnText], [UNUSED_OPTION_VALUE, this.sUnuseText]],
[
['', this.sChooseOnText],
[UNUSED_OPTION_VALUE, this.sUnuseText]
],
null,
null,
null,