Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xpub-faraday
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Something went wrong on our end
Show more breadcrumbs
xpub
xpub-faraday
Merge requests
!204
Hin 1232 send correct email to new author
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Hin 1232 send correct email to new author
HIN-1232-send-correct-email-to-newAuthor
into
develop
Overview
2
Commits
7
Pipelines
0
Changes
5
Merged
Tania Fecheta
requested to merge
HIN-1232-send-correct-email-to-newAuthor
into
develop
6 years ago
Overview
2
Commits
7
Pipelines
0
Changes
1
Expand
2
0
Merge request reports
Viewing commit
f842ced7
Prev
Next
Show latest version
1 file
+
2
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
f842ced7
fix(notifications): remove comented code
· f842ced7
Tania Fecheta
authored
6 years ago
packages/component-manuscript-manager/src/routes/fragments/notifications/notifications.js
+
2
−
3
Options
const
config
=
require
(
'
config
'
)
const
{
get
,
isEmpty
,
tail
}
=
require
(
'
lodash
'
)
const
{
get
,
tail
}
=
require
(
'
lodash
'
)
const
Email
=
require
(
'
@pubsweet/component-email-templating
'
)
const
{
@@ -101,7 +101,7 @@ module.exports = {
if
(
adminOwner
)
{
userEmailData
=
tail
(
userEmailData
)
}
userEmailData
.
forEach
(({
author
,
paragraph
,
bodyProps
})
=>
{
const
email
=
new
Email
({
type
:
'
user
'
,
@@ -149,7 +149,6 @@ module.exports = {
})
email
.
content
.
ctaText
=
'
CONFIRM ACCOUNT
'
}
// if (isEmpty(adminOwner)) return email.sendEmail()
return
email
.
sendEmail
()
})
},