mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-22 16:29:09 +01:00
fix: replace isAdmin conditional with isManager for CanCreateNewCollections, refs AC-1857 (#7052)
This commit is contained in:
parent
d5dbc3fa23
commit
10d1e7de8e
@ -164,7 +164,9 @@ export class Organization {
|
||||
|
||||
get canCreateNewCollections() {
|
||||
return (
|
||||
!this.limitCollectionCreationDeletion || this.isAdmin || this.permissions.createNewCollections
|
||||
!this.limitCollectionCreationDeletion ||
|
||||
this.isManager ||
|
||||
this.permissions.createNewCollections
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user