mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-02 23:11:40 +01:00
allow removeal of accessall users on groups
This commit is contained in:
parent
5ade229cb9
commit
137bb3a4c2
@ -40,7 +40,7 @@
|
||||
</td>
|
||||
<td class="table-list-options wider">
|
||||
<button type="button" class="btn btn-sm btn-outline-danger btn-submit" (click)="remove(u)" #removeBtn appBlurClick [disabled]="removeBtn.loading"
|
||||
[appApiAction]="actionPromise" *ngIf="!u.accessAll">
|
||||
[appApiAction]="actionPromise" *ngIf="entity !== 'collection' || !u.accessAll">
|
||||
<i class="fa fa-spinner fa-spin"></i>
|
||||
<span>{{'remove' | i18n}}</span>
|
||||
</button>
|
||||
|
@ -58,7 +58,7 @@ export class EntityUsersComponent implements OnInit {
|
||||
}
|
||||
|
||||
async remove(user: any) {
|
||||
if (this.actionPromise != null || user.accessAll) {
|
||||
if (this.actionPromise != null || (this.entity === 'collection' && user.accessAll)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user