mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
[AC-2610] [AC-2613] Fix copy in members and groups dialogs (#9200)
* Add missing copy to member dialog * [AC-2613] Fix copy for providers in Collections tabs
This commit is contained in:
@@ -183,7 +183,7 @@ export class GroupAddEditComponent implements OnInit, OnDestroy {
|
||||
shareReplay({ refCount: true, bufferSize: 1 }),
|
||||
);
|
||||
|
||||
allowAdminAccessToAllCollectionItems$ = combineLatest([
|
||||
protected allowAdminAccessToAllCollectionItems$ = combineLatest([
|
||||
this.organization$,
|
||||
this.flexibleCollectionsV1Enabled$,
|
||||
]).pipe(
|
||||
@@ -196,7 +196,16 @@ export class GroupAddEditComponent implements OnInit, OnDestroy {
|
||||
}),
|
||||
);
|
||||
|
||||
restrictGroupAccess$ = combineLatest([
|
||||
protected canEditAnyCollection$ = combineLatest([
|
||||
this.organization$,
|
||||
this.flexibleCollectionsV1Enabled$,
|
||||
]).pipe(
|
||||
map(([org, flexibleCollectionsV1Enabled]) =>
|
||||
org.canEditAnyCollection(flexibleCollectionsV1Enabled),
|
||||
),
|
||||
);
|
||||
|
||||
protected cannotAddSelfToGroup$ = combineLatest([
|
||||
this.allowAdminAccessToAllCollectionItems$,
|
||||
this.groupDetails$,
|
||||
]).pipe(map(([allowAdminAccess, groupDetails]) => !allowAdminAccess && groupDetails != null));
|
||||
@@ -229,7 +238,7 @@ export class GroupAddEditComponent implements OnInit, OnDestroy {
|
||||
this.orgCollections$,
|
||||
this.orgMembers$,
|
||||
this.groupDetails$,
|
||||
this.restrictGroupAccess$,
|
||||
this.cannotAddSelfToGroup$,
|
||||
this.accountService.activeAccount$,
|
||||
this.organization$,
|
||||
this.flexibleCollectionsV1Enabled$,
|
||||
|
||||
Reference in New Issue
Block a user