Skip to content

Commit

Permalink
DST-17537 : Dropdowns empty when no ldap entry exists
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmccormackbconline committed Jul 22, 2024
1 parent 9b089e9 commit 1bef40d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/component/user/user.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class UserComponent implements OnInit {
}
}))
.subscribe((user: User) => {
this.user = user;
this.user = { groups: new Groups(), ...user }
this.addSelectableRoles(user.roles || []);
this.loaded = true;
this.existingHomeAreaCode = user.homeArea?.code;
Expand Down

0 comments on commit 1bef40d

Please sign in to comment.