mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 10:13:31 +00:00
set collections for org admin
This commit is contained in:
@@ -48,6 +48,13 @@ export class AddEditComponent extends BaseAddEditComponent {
|
||||
await this.organizationChanged();
|
||||
}
|
||||
|
||||
protected loadCollections() {
|
||||
if (!this.organization.isAdmin) {
|
||||
return super.loadCollections();
|
||||
}
|
||||
return Promise.resolve(this.collections);
|
||||
}
|
||||
|
||||
protected async loadCipher() {
|
||||
if (!this.organization.isAdmin) {
|
||||
return await super.loadCipher();
|
||||
|
||||
Reference in New Issue
Block a user