Fix the group numbering to ignore admin group
This commit is contained in:
@@ -247,7 +247,7 @@
|
||||
<span class="text-muted">{{ user.email }}</span>
|
||||
</td>
|
||||
<td class="text-center hand" ng-click="showUserEdit(user)">
|
||||
{{ user.groupIds.length }}
|
||||
{{ user.groupIds.length - (user.groupIds.indexOf('admin') !== -1 ? 1 : 0) }}
|
||||
</td>
|
||||
<td class="text-right" style="vertical-align: bottom">
|
||||
<button ng-show="!isMe(user)" class="btn btn-xs btn-default" ng-click="sendInvite(user)" title="Send Invite"><i class="fa fa-paper-plane-o"></i></button>
|
||||
|
||||
Reference in New Issue
Block a user