mirror of
https://github.com/wekan/wekan.git
synced 2025-12-31 22:58:48 +01:00
Fix lint errors
This commit is contained in:
parent
ecb8c88233
commit
2d7d9b5d9f
3 changed files with 6 additions and 27 deletions
|
|
@ -157,11 +157,11 @@ Migrations.add('add-swimlanes', () => {
|
|||
const swimlane = Swimlanes.findOne({ boardId: board._id });
|
||||
let swimlaneId = '';
|
||||
if (swimlane)
|
||||
swimlaneId = swimlane._id
|
||||
swimlaneId = swimlane._id;
|
||||
else
|
||||
swimlaneId = Swimlanes.direct.insert({
|
||||
boardId: board._id,
|
||||
title: 'Default'
|
||||
boardId: board._id,
|
||||
title: 'Default',
|
||||
});
|
||||
|
||||
Cards.find({ boardId: board._id }).forEach((card) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue