mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Add full name if exists in 'email-invite-subject' for user to invite
This commit is contained in:
parent
8752225409
commit
01cd1c0fdc
3 changed files with 8 additions and 6 deletions
|
@ -227,7 +227,8 @@ if (Meteor.isServer) {
|
|||
try {
|
||||
const fullName = Users.findOne(icode.authorId)
|
||||
&& Users.findOne(icode.authorId).profile
|
||||
&& Users.findOne(icode.authorId).profile !== undefined ? Users.findOne(icode.authorId).profile.fullname : "";
|
||||
&& Users.findOne(icode.authorId).profile !== undefined
|
||||
&& Users.findOne(icode.authorId).profile.fullname ? Users.findOne(icode.authorId).profile.fullname : "";
|
||||
|
||||
const params = {
|
||||
email: icode.email,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue