Skip to content

Commit

Permalink
Fix projection for users without structure level (#3473)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsangmeister authored Mar 25, 2024
1 parent 58f9f14 commit 1db5ad1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export class UserRepositoryService extends BaseRepository<ViewUser, User> {

if (structureLevel) {
additions.push(structureLevel.getTitle());
} else if (structureLevel !== null && user.structureLevels()) {
} else if (structureLevel !== null && user.structureLevels?.()) {
additions.push(user.structureLevels());
}

Expand Down

0 comments on commit 1db5ad1

Please sign in to comment.