mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
load collections after ngOninit has run (#8691)
This commit is contained in:
@@ -592,7 +592,7 @@ export class AddEditComponent implements OnInit, OnDestroy {
|
||||
this.writeableCollections.forEach((c) => ((c as any).checked = false));
|
||||
}
|
||||
if (this.cipher.organizationId != null) {
|
||||
this.collections = this.writeableCollections.filter(
|
||||
this.collections = this.writeableCollections?.filter(
|
||||
(c) => c.organizationId === this.cipher.organizationId,
|
||||
);
|
||||
const org = await this.organizationService.get(this.cipher.organizationId);
|
||||
|
||||
Reference in New Issue
Block a user