1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

Fix null error when inviting member (#8342)

This commit is contained in:
Thomas Rittson
2024-03-15 14:36:14 +10:00
committed by GitHub
parent e9a34ac5b8
commit c010045e7e

View File

@@ -186,6 +186,7 @@ export class MemberDialogComponent implements OnDestroy {
flexibleCollectionsV1Enabled &&
organization.flexibleCollections &&
// Business logic conditionals
userDetails != null &&
userDetails.userId == activeAccount.id &&
!organization.allowAdminAccessToAllCollectionItems,
),