Skip to content

Commit

Permalink
Fix null error when inviting member (#8342)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliykat authored Mar 15, 2024
1 parent e9a34ac commit c010045
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ export class MemberDialogComponent implements OnDestroy {
flexibleCollectionsV1Enabled &&
organization.flexibleCollections &&
// Business logic conditionals
userDetails != null &&
userDetails.userId == activeAccount.id &&
!organization.allowAdminAccessToAllCollectionItems,
),
Expand Down

0 comments on commit c010045

Please sign in to comment.