mirror of
https://github.com/wekan/wekan.git
synced 2026-02-23 00:14:07 +01: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
|
let foundUserIds = []; // eslint-disable-line prefer-const
|
||||||
currentBoard.members.forEach((member) => {
|
currentBoard.members.forEach((member) => {
|
||||||
const username = Users.findOne(member.userId).username;
|
const username = Users.findOne(member.userId).username;
|
||||||
const nameNdx = title.indexOf(`@${username}!`);
|
const nameNdx = title.indexOf(`@${username}`);
|
||||||
if(nameNdx !== -1) {
|
if(nameNdx !== -1) {
|
||||||
foundUserIds.push(member.userId);
|
foundUserIds.push(member.userId);
|
||||||
title = title.substr(0, nameNdx)
|
title = title.substr(0, nameNdx)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue