mirror of
https://github.com/wekan/wekan.git
synced 2026-02-09 17:54:21 +01:00
Fix lint errors.
This commit is contained in:
parent
c52233cacf
commit
7c403053e3
11 changed files with 187 additions and 187 deletions
|
|
@ -109,9 +109,9 @@ Migrations.add('add-member-isactive-field', () => {
|
|||
Boards.find({}, {fields: {members: 1}}).forEach((board) => {
|
||||
const allUsersWithSomeActivity = _.chain(
|
||||
Activities.find({ boardId: board._id }, { fields:{ userId:1 }}).fetch())
|
||||
.pluck('userId')
|
||||
.uniq()
|
||||
.value();
|
||||
.pluck('userId')
|
||||
.uniq()
|
||||
.value();
|
||||
const currentUsers = _.pluck(board.members, 'userId');
|
||||
const formerUsers = _.difference(allUsersWithSomeActivity, currentUsers);
|
||||
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@ Meteor.methods({
|
|||
};
|
||||
|
||||
[ 'cardId', 'listId', 'oldListId',
|
||||
'boardId', 'comment', 'user',
|
||||
'card', 'commentId',
|
||||
'boardId', 'comment', 'user',
|
||||
'card', 'commentId',
|
||||
].forEach((key) => {
|
||||
if (params[key]) value[key] = params[key];
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue