Remove impersonation button on user detail page if feature is disabled
The impersonation button in the user list is already removed when the impersonation feature is disabled. Remove the button from the detail page too.
This commit is contained in:
parent
1f462a2ae2
commit
600fd83078
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group clearfix" data-ng-hide="create || !access.impersonation">
|
||||
<div class="form-group clearfix" data-ng-hide="create || !access.impersonation || !serverInfo.featureEnabled('IMPERSONATION')">
|
||||
<label class="col-md-2 control-label" for="impersonate">{{:: 'impersonate-user' | translate}}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
|
|
Loading…
Reference in a new issue