1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-21 16:18:28 +01: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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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,
),