Skip to content

Commit

Permalink
GMS-65 Fix of component
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-szrnka committed Dec 6, 2023
1 parent 5a9bf2a commit c90191f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class HomeComponent implements OnInit {
return this.homeService.getData().pipe(map((response): HomeData => {
const data: HomeData = response;
// TODO Refactor the app to allow only 1 type of role
data.role = user.roles?.[0];
data.role = user.roles[0];
return data;
}));
}
Expand Down

0 comments on commit c90191f

Please sign in to comment.