From d8a078f80953c72a5d47e42a6285277fd5b5f5c9 Mon Sep 17 00:00:00 2001 From: Mihail Hagiu <mihail.hagiu@thinslices.com> Date: Tue, 18 Dec 2018 13:40:09 +0200 Subject: [PATCH] fix(ReiewerEmail): properties added on bodyProps --- .../src/notifications/notification.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/component-manuscript-manager/src/notifications/notification.js b/packages/component-manuscript-manager/src/notifications/notification.js index 00cc8d130..948d04901 100644 --- a/packages/component-manuscript-manager/src/notifications/notification.js +++ b/packages/component-manuscript-manager/src/notifications/notification.js @@ -767,13 +767,7 @@ class Notification { agree: true, }) - const { - paragraph, - upperContent, - lowerContent, - subText, - ...bodyProps - } = getEmailCopy({ + const { paragraph, ...bodyProps } = getEmailCopy({ emailType: 'reviewer-invitation', titleText: `the manuscript titled <strong>"${title}"</strong> by <strong>${authorName}</strong> et al.`, expectedDate: services.getExpectedDate({ daysExpected: 14 }), -- GitLab