mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +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 : '')
|
||||
)
|
||||
)
|
||||
);
|
||||
|
|
|
|||
|
|
@ -191,7 +191,11 @@ class AbstractSettingsScreen extends AbstractScreen {
|
|||
}
|
||||
};
|
||||
|
||||
return [['{subname}/', rules], ['{subname}', rules], ['', rules]];
|
||||
return [
|
||||
['{subname}/', rules],
|
||||
['{subname}', rules],
|
||||
['', rules]
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue