mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
- Fix lint errors.
Thanks to xet7 !
This commit is contained in:
parent
2b53fae16f
commit
f5339ef97f
4 changed files with 10 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue