summaryrefslogtreecommitdiffstats
path: root/client/components
diff options
context:
space:
mode:
authorKenton Hamaluik <kenton@hamaluik.com>2015-10-03 16:56:27 -0600
committerKenton Hamaluik <kenton@hamaluik.com>2015-10-03 16:56:27 -0600
commite4c5d2cbe64f42f1fc2e49aea6a9a25bc0d686cb (patch)
tree064f43de81c4a057cbe7288f5a8afb943a873d9f /client/components
parent429686ef480a56039e0d1a6da0a8668755b2bfa5 (diff)
downloadwekan-e4c5d2cbe64f42f1fc2e49aea6a9a25bc0d686cb.tar.gz
wekan-e4c5d2cbe64f42f1fc2e49aea6a9a25bc0d686cb.tar.bz2
wekan-e4c5d2cbe64f42f1fc2e49aea6a9a25bc0d686cb.zip
Fixed typo in template for quick-adding a user.
Diffstat (limited to 'client/components')
-rw-r--r--client/components/lists/listBody.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js
index a96e964c..61e26975 100644
--- a/client/components/lists/listBody.js
+++ b/client/components/lists/listBody.js
@@ -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)