From 81f346fcc93cb290b2d8bd4ac5c4da44d4741a0d Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Wed, 3 Aug 2022 12:17:01 +0300 Subject: [PATCH] cs fix --- client/modules/crm/src/views/record/panels/history.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/client/modules/crm/src/views/record/panels/history.js b/client/modules/crm/src/views/record/panels/history.js index 75e7e6a513..bc32489ca7 100644 --- a/client/modules/crm/src/views/record/panels/history.js +++ b/client/modules/crm/src/views/record/panels/history.js @@ -54,7 +54,7 @@ define('crm:views/record/panels/history', ['crm:views/record/panels/activities'] {name: 'status'}, {name: 'dateSent'}, {name: 'hasAttachment', view: 'views/email/fields/has-attachment'}, - ] + ], ] }, }, @@ -70,17 +70,18 @@ define('crm:views/record/panels/history', ['crm:views/record/panels/activities'] action: 'archiveEmail', label: 'Archive Email', acl: 'create', - aclScope: 'Email' + aclScope: 'Email', }); }, getArchiveEmailAttributes: function (scope, data, callback) { data = data || {}; - var attributes = { + + let attributes = { dateSent: this.getDateTime().getNow(15), status: 'Archived', from: this.model.get('emailAddress'), - to: this.getUser().get('emailAddress') + to: this.getUser().get('emailAddress'), }; if (this.model.name === 'Contact') {