mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
fix: replace isAdmin conditional with isManager for CanCreateNewCollections, refs AC-1857 (#7052)
This commit is contained in:
@@ -164,7 +164,9 @@ export class Organization {
|
|||||||
|
|
||||||
get canCreateNewCollections() {
|
get canCreateNewCollections() {
|
||||||
return (
|
return (
|
||||||
!this.limitCollectionCreationDeletion || this.isAdmin || this.permissions.createNewCollections
|
!this.limitCollectionCreationDeletion ||
|
||||||
|
this.isManager ||
|
||||||
|
this.permissions.createNewCollections
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user