Skip to content

Commit

Permalink
Update MessageView.js
Browse files Browse the repository at this point in the history
  • Loading branch information
theronakpatel authored Mar 12, 2024
1 parent 5e11598 commit f807bcd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dev/View/User/MailBox/MessageView.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { ScopeFolderList, ScopeMessageList, ScopeMessageView } from 'Common/Enum
import {
ComposeType,
ClientSideKeyNameMessageHeaderFullInfo,
ClientSideKeyNameMessageAttachmentControls,
FolderType,
MessageSetAction
} from 'Common/EnumsUser';
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -482,7 +481,6 @@ export class MailMessageView extends AbstractViewRight {
toggleAttachmentControls() {
const b = !this.showAttachmentControls();
this.showAttachmentControls(b);
Local.set(ClientSideKeyNameMessageAttachmentControls, b);
}

downloadAsZip() {
Expand Down

0 comments on commit f807bcd

Please sign in to comment.