mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
Fix lint errors back to eslint requirements.
This commit is contained in:
parent
ef99e6a6b1
commit
9b465bc98b
3 changed files with 96 additions and 96 deletions
|
|
@ -167,9 +167,9 @@ Migrations.add('add-swimlanes', () => {
|
|||
Cards.find({ boardId: board._id }).forEach((card) => {
|
||||
if (!card.hasOwnProperty('swimlaneId')) {
|
||||
Cards.direct.update(
|
||||
{ _id: card._id },
|
||||
{ $set: { swimlaneId } },
|
||||
noValidate
|
||||
{ _id: card._id },
|
||||
{ $set: { swimlaneId } },
|
||||
noValidate
|
||||
);
|
||||
}
|
||||
});
|
||||
|
|
@ -180,9 +180,9 @@ Migrations.add('add-views', () => {
|
|||
Boards.find().forEach((board) => {
|
||||
if (!board.hasOwnProperty('view')) {
|
||||
Boards.direct.update(
|
||||
{ _id: board._id },
|
||||
{ $set: { view: 'board-view-swimlanes' } },
|
||||
noValidate
|
||||
{ _id: board._id },
|
||||
{ $set: { view: 'board-view-swimlanes' } },
|
||||
noValidate
|
||||
);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue