mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 16:00:13 +01:00
Added space after if to conform to formatting
This commit is contained in:
parent
77ca52d8c2
commit
a212b1310c
1 changed files with 3 additions and 3 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;
|
||||||
if(title.indexOf(`@${username}`) !== -1) {
|
if (title.indexOf(`@${username}`) !== -1) {
|
||||||
foundUserIds.push(member.userId);
|
foundUserIds.push(member.userId);
|
||||||
title = title.replace(`@${username}`, '');
|
title = title.replace(`@${username}`, '');
|
||||||
}
|
}
|
||||||
|
|
@ -57,7 +57,7 @@ BlazeComponent.extendComponent({
|
||||||
currentBoard.labels.forEach((label) => {
|
currentBoard.labels.forEach((label) => {
|
||||||
const labelName = (!label.name || label.name === '')
|
const labelName = (!label.name || label.name === '')
|
||||||
? label.color : label.name;
|
? label.color : label.name;
|
||||||
if(title.indexOf(`#${labelName}`) !== -1) {
|
if (title.indexOf(`#${labelName}`) !== -1) {
|
||||||
foundLabelIds.push(label._id);
|
foundLabelIds.push(label._id);
|
||||||
title = title.replace(`#${labelName}`, '');
|
title = title.replace(`#${labelName}`, '');
|
||||||
}
|
}
|
||||||
|
|
@ -137,7 +137,7 @@ BlazeComponent.extendComponent({
|
||||||
|
|
||||||
pressKey(evt) {
|
pressKey(evt) {
|
||||||
// Don't do anything if the drop down is showing
|
// Don't do anything if the drop down is showing
|
||||||
if(dropdownMenuIsOpened) {
|
if (dropdownMenuIsOpened) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue