mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Fix formatting.
This commit is contained in:
parent
692138c40b
commit
315b5bad46
1 changed files with 2 additions and 2 deletions
|
|
@ -611,8 +611,8 @@ if (Meteor.isServer) {
|
||||||
board.members &&
|
board.members &&
|
||||||
_.contains(_.pluck(board.members, 'userId'), inviter._id) &&
|
_.contains(_.pluck(board.members, 'userId'), inviter._id) &&
|
||||||
_.where(board.members, { userId: inviter._id })[0].isActive;
|
_.where(board.members, { userId: inviter._id })[0].isActive;
|
||||||
// GitHub issue 2060
|
// GitHub issue 2060
|
||||||
//_.where(board.members, { userId: inviter._id })[0].isAdmin;
|
//_.where(board.members, { userId: inviter._id })[0].isAdmin;
|
||||||
if (!allowInvite) throw new Meteor.Error('error-board-notAMember');
|
if (!allowInvite) throw new Meteor.Error('error-board-notAMember');
|
||||||
|
|
||||||
this.unblock();
|
this.unblock();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue