Skip to content

Commit

Permalink
fix(users): remove duplicate dropdown item
Browse files Browse the repository at this point in the history
This commit removes the duplicate "disactivate" item from the dropdown
menu in the user management module.
  • Loading branch information
jniles committed Dec 6, 2017
1 parent 907a0b9 commit b52491d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client/src/modules/users/templates/grid/action.cell.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
<ul data-action="{{ rowRenderIndex}}" class="dropdown-menu-right" bh-dropdown-menu-auto-dropup uib-dropdown-menu>
<li><a data-method="edit" ng-click="grid.appScope.edit(row.entity)" href><i class="fa fa-edit"></i> <span translate>FORM.BUTTONS.EDIT</span></a></li>
<li><a data-method="permission" ng-click="grid.appScope.editPermissions(row.entity)" href><i class="fa fa-key"></i> <span translate>FORM.BUTTONS.EDIT_PERMISSIONS</span></a></li>
<li ng-if="!row.entity.deactivated"><a data-method="activated" ng-click="grid.appScope.activatePermissions(row.entity, 1, 'FORM.DIALOGS.CONFIRM_DEACTIVATION')" href>
<i class="fa fa-lock"></i> <span translate>FORM.LABELS.DEACTIVATE</span></a>
</li>
<li>
<a data-method="depot" ng-click="grid.appScope.depotManagement(row.entity)" href>
<i class="fa fa-cubes"></i> <span translate>FORM.BUTTONS.DEPOT_MANAGEMENT</span>
Expand Down

0 comments on commit b52491d

Please sign in to comment.