summaryrefslogtreecommitdiffstats
path: root/client/components
diff options
context:
space:
mode:
authorKenton Hamaluik <kenton@hamaluik.com>2015-10-08 12:22:55 -0600
committerKenton Hamaluik <kenton@hamaluik.com>2015-10-08 12:22:55 -0600
commita212b1310cf5c722a397e2c50af9a7b289e77e5a (patch)
tree5d90cc957d860141bfeba6111a8c53a7ee8646f2 /client/components
parent77ca52d8c20211170a0f6d28e751768a4f9c3b8c (diff)
downloadwekan-a212b1310cf5c722a397e2c50af9a7b289e77e5a.tar.gz
wekan-a212b1310cf5c722a397e2c50af9a7b289e77e5a.tar.bz2
wekan-a212b1310cf5c722a397e2c50af9a7b289e77e5a.zip
Added space after if to conform to formatting
Diffstat (limited to 'client/components')
-rw-r--r--client/components/lists/listBody.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js
index 7c524b93..ce095ed6 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;
- if(title.indexOf(`@${username}`) !== -1) {
+ if (title.indexOf(`@${username}`) !== -1) {
foundUserIds.push(member.userId);
title = title.replace(`@${username}`, '');
}
@@ -57,7 +57,7 @@ BlazeComponent.extendComponent({
currentBoard.labels.forEach((label) => {
const labelName = (!label.name || label.name === '')
? label.color : label.name;
- if(title.indexOf(`#${labelName}`) !== -1) {
+ if (title.indexOf(`#${labelName}`) !== -1) {
foundLabelIds.push(label._id);
title = title.replace(`#${labelName}`, '');
}
@@ -137,7 +137,7 @@ BlazeComponent.extendComponent({
pressKey(evt) {
// Don't do anything if the drop down is showing
- if(dropdownMenuIsOpened) {
+ if (dropdownMenuIsOpened) {
return;
}