Do not disable access control elements if no group was created

There are still users to be selected
This commit is contained in:
Johannes Zellner
2017-11-12 00:09:03 +01:00
parent c0faae4e27
commit 19f6da88da
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@
</div>
<div class="radio">
<label>
<input type="radio" ng-model="appInstall.accessRestrictionOption" value="groups" ng-disabled="groups.length <= 1">
<input type="radio" ng-model="appInstall.accessRestrictionOption" value="groups">
Only allow the following users and groups <span class="label label-danger" ng-show="appInstall.accessRestrictionOption === 'groups' && !appInstall.isAccessRestrictionValid()">Select at least one user or group</span>
</label>
</div>