mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 09:27:03 +03:00
Update MessageView.js
This commit is contained in:
parent
5e115982eb
commit
f807bcdcef
1 changed files with 1 additions and 3 deletions
|
|
@ -6,7 +6,6 @@ import { ScopeFolderList, ScopeMessageList, ScopeMessageView } from 'Common/Enum
|
||||||
import {
|
import {
|
||||||
ComposeType,
|
ComposeType,
|
||||||
ClientSideKeyNameMessageHeaderFullInfo,
|
ClientSideKeyNameMessageHeaderFullInfo,
|
||||||
ClientSideKeyNameMessageAttachmentControls,
|
|
||||||
FolderType,
|
FolderType,
|
||||||
MessageSetAction
|
MessageSetAction
|
||||||
} from 'Common/EnumsUser';
|
} from 'Common/EnumsUser';
|
||||||
|
|
@ -105,7 +104,7 @@ export class MailMessageView extends AbstractViewRight {
|
||||||
this.simpleAttachmentsList = SettingsUserStore.simpleAttachmentsList;
|
this.simpleAttachmentsList = SettingsUserStore.simpleAttachmentsList;
|
||||||
|
|
||||||
addObservablesTo(this, {
|
addObservablesTo(this, {
|
||||||
showAttachmentControls: !!Local.get(ClientSideKeyNameMessageAttachmentControls),
|
showAttachmentControls: true,
|
||||||
downloadAsZipLoading: false,
|
downloadAsZipLoading: false,
|
||||||
showFullInfo: '1' === Local.get(ClientSideKeyNameMessageHeaderFullInfo),
|
showFullInfo: '1' === Local.get(ClientSideKeyNameMessageHeaderFullInfo),
|
||||||
// bootstrap dropdown
|
// bootstrap dropdown
|
||||||
|
|
@ -482,7 +481,6 @@ export class MailMessageView extends AbstractViewRight {
|
||||||
toggleAttachmentControls() {
|
toggleAttachmentControls() {
|
||||||
const b = !this.showAttachmentControls();
|
const b = !this.showAttachmentControls();
|
||||||
this.showAttachmentControls(b);
|
this.showAttachmentControls(b);
|
||||||
Local.set(ClientSideKeyNameMessageAttachmentControls, b);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
downloadAsZip() {
|
downloadAsZip() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue