diff --git a/packages/component-manuscript-manager/src/routes/fragmentsRecommendations/notifications/notification.js b/packages/component-manuscript-manager/src/routes/fragmentsRecommendations/notifications/notification.js index 593f705d6240cb64cfb128a4b0bbfe37c00a6ad8..961d23b9e76d6adb822ee52b70f1a7e2a83a2c00 100644 --- a/packages/component-manuscript-manager/src/routes/fragmentsRecommendations/notifications/notification.js +++ b/packages/component-manuscript-manager/src/routes/fragmentsRecommendations/notifications/notification.js @@ -344,11 +344,6 @@ class Notification { }, }) - // email = helpers.updateEmailContentForSA({ - // email, - // customId, - // signatureName: get(collection, 'handlingEditor.name', eicName), - // }) const { html, text } = email.getNotificationBody({ emailBodyProps: { paragraph: author.paragraph, diff --git a/packages/component-manuscript-manager/src/routes/fragmentsRecommendations/post.js b/packages/component-manuscript-manager/src/routes/fragmentsRecommendations/post.js index 1afb4a42c511e3cedd40dd089e443f1a600c48aa..1c1f531ad3cd9325d8fa682b93f24e3df2c4036c 100644 --- a/packages/component-manuscript-manager/src/routes/fragmentsRecommendations/post.js +++ b/packages/component-manuscript-manager/src/routes/fragmentsRecommendations/post.js @@ -170,19 +170,10 @@ module.exports = models => async (req, res) => { notification.notifyReviewersWhenEiCMakesDecision() } } else { - notification.notifySAWhenHERequestsRevision() - const hasPeerReview = !isEmpty(collection.handlingEditor) if (hasPeerReview) { notification.notifyReviewersWhenHEMakesRecommendation() } - // notifications.sendNotificationsWhenHEMakesRecommendation({ - // fragment, - // collection, - // newRecommendation, - // UserModel: models.User, - // baseUrl: services.getBaseUrl(req), - // }) if (collection.status === 'revisionRequested') { notification.notifySAWhenHERequestsRevision() }