mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +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
|
collectionView.users = this.formGroup.controls.access.value
|
||||||
.filter((v) => v.type === AccessItemType.Member)
|
.filter((v) => v.type === AccessItemType.Member)
|
||||||
.map(convertToSelectionView);
|
.map(convertToSelectionView);
|
||||||
collectionView.defaultUserCollectionEmail = this.collection.defaultUserCollectionEmail;
|
collectionView.defaultUserCollectionEmail = this.collection?.defaultUserCollectionEmail;
|
||||||
|
|
||||||
const userId = await firstValueFrom(this.accountService.activeAccount$.pipe(getUserId));
|
const userId = await firstValueFrom(this.accountService.activeAccount$.pipe(getUserId));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user