Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
fix bug on update member
Browse files Browse the repository at this point in the history
  • Loading branch information
smartlt committed Dec 17, 2015
1 parent 6cbe7d7 commit e652b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/static/templates/groupmanage.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<select ng-model="userprofile.role" ng-options="role.id as role.name for role in [{id:1, name: 'Member'}, {id: 2, name: 'Admin'}]" class="form-control"></select>
</td>
<td>
<button ng-click="updateMember(userprofile.user.id, user.role)" ng-hide="userprofile.user.id == user.id" class="btn btn-primary">Update</button>
<button ng-click="updateMember(userprofile.user.id, userprofile.role)" ng-hide="userprofile.user.id == user.id" class="btn btn-primary">Update</button>
<button ng-click="denyMember(userprofile.user.id)" ng-hide="userprofile.user.id == user.id" class="btn btn-sm btn-danger">Kick</button>
</td>
</tr>
Expand Down

0 comments on commit e652b1d

Please sign in to comment.