mirror of
https://github.com/wekan/wekan.git
synced 2026-01-01 07:08:49 +01:00
Fix lint errors in lint error fix.
Thanks to xet7 !
This commit is contained in:
parent
e7603298d7
commit
9e95c06415
9 changed files with 47 additions and 49 deletions
|
|
@ -1036,12 +1036,8 @@ Migrations.add('add-description-text-allowed', () => {
|
|||
|
||||
Migrations.add('add-sort-field-to-boards', () => {
|
||||
Boards.find().forEach((board, index) => {
|
||||
if (!board.hasOwnProperty('sort')) {
|
||||
Boards.direct.update(
|
||||
board._id,
|
||||
{ $set: { sort: index } },
|
||||
noValidate
|
||||
);
|
||||
if (!board.hasOwnProperty('sort')) {
|
||||
Boards.direct.update(board._id, { $set: { sort: index } }, noValidate);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue