Merge pull request #2587 from FinnStutzenstein/Issue2544
Block deleting of the last group with user manage permissions
This commit is contained in:
commit
8f099114bb
@ -41,6 +41,7 @@
|
||||
|
||||
<!--delete-->
|
||||
<a href="" class="text-danger"
|
||||
ng-if="group_danger.id != group.id"
|
||||
ng-bootbox-confirm="{{ 'Are you sure you want to delete this entry?' | translate }}<br>
|
||||
<b>{{ group.name | translate }}</b>"
|
||||
ng-bootbox-confirm-action="delete(group)">
|
||||
|
Loading…
Reference in New Issue
Block a user