- Fix lint errors.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2019-01-04 11:00:33 +02:00
parent 2b53fae16f
commit f5339ef97f
4 changed files with 10 additions and 10 deletions

View file

@ -150,12 +150,12 @@ RulesHelper = {
let listId = '';
let swimlaneId = '';
const swimlane = Swimlanes.findOne({title:action.swimlaneName, boardId});
if(list == undefined){
if(list === undefined){
listId = '';
}else{
listId = list._id;
}
if(swimlane == undefined){
if(swimlane === undefined){
swimlaneId = Swimlanes.findOne({title:'Default', boardId})._id;
}else{
swimlaneId = swimlane._id;