mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Fixed typo in template for quick-adding a user.
This commit is contained in:
parent
429686ef48
commit
e4c5d2cbe6
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ BlazeComponent.extendComponent({
|
|||
let foundUserIds = []; // eslint-disable-line prefer-const
|
||||
currentBoard.members.forEach((member) => {
|
||||
const username = Users.findOne(member.userId).username;
|
||||
const nameNdx = title.indexOf(`@${username}!`);
|
||||
const nameNdx = title.indexOf(`@${username}`);
|
||||
if(nameNdx !== -1) {
|
||||
foundUserIds.push(member.userId);
|
||||
title = title.substr(0, nameNdx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue