mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 05:43:41 +00:00
fix missing null check (#16180)
This commit is contained in:
@@ -421,7 +421,7 @@ export class CollectionDialogComponent implements OnInit, OnDestroy {
|
||||
collectionView.users = this.formGroup.controls.access.value
|
||||
.filter((v) => v.type === AccessItemType.Member)
|
||||
.map(convertToSelectionView);
|
||||
collectionView.defaultUserCollectionEmail = this.collection.defaultUserCollectionEmail;
|
||||
collectionView.defaultUserCollectionEmail = this.collection?.defaultUserCollectionEmail;
|
||||
|
||||
const userId = await firstValueFrom(this.accountService.activeAccount$.pipe(getUserId));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user