Update MessageView.js

This commit is contained in:
Ronak Patel 2024-03-12 07:38:49 -07:00 committed by GitHub
parent 5e115982eb
commit f807bcdcef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,6 @@ import { ScopeFolderList, ScopeMessageList, ScopeMessageView } from 'Common/Enum
import {
ComposeType,
ClientSideKeyNameMessageHeaderFullInfo,
ClientSideKeyNameMessageAttachmentControls,
FolderType,
MessageSetAction
} from 'Common/EnumsUser';
@ -105,7 +104,7 @@ export class MailMessageView extends AbstractViewRight {
this.simpleAttachmentsList = SettingsUserStore.simpleAttachmentsList;
addObservablesTo(this, {
showAttachmentControls: !!Local.get(ClientSideKeyNameMessageAttachmentControls),
showAttachmentControls: true,
downloadAsZipLoading: false,
showFullInfo: '1' === Local.get(ClientSideKeyNameMessageHeaderFullInfo),
// bootstrap dropdown
@ -482,7 +481,6 @@ export class MailMessageView extends AbstractViewRight {
toggleAttachmentControls() {
const b = !this.showAttachmentControls();
this.showAttachmentControls(b);
Local.set(ClientSideKeyNameMessageAttachmentControls, b);
}
downloadAsZip() {