diff --git a/client/src/app/gateways/repositories/users/user-repository.service.ts b/client/src/app/gateways/repositories/users/user-repository.service.ts index d5e370ee71..ddcfd9dac9 100644 --- a/client/src/app/gateways/repositories/users/user-repository.service.ts +++ b/client/src/app/gateways/repositories/users/user-repository.service.ts @@ -298,7 +298,7 @@ export class UserRepositoryService extends BaseRepository { if (structureLevel) { additions.push(structureLevel.getTitle()); - } else if (structureLevel !== null && user.structureLevels()) { + } else if (structureLevel !== null && user.structureLevels?.()) { additions.push(user.structureLevels()); }