Skip to content

Commit

Permalink
Merge pull request #543 from Cafnanc/release-3.0.1
Browse files Browse the repository at this point in the history
Update profile.service.ts
  • Loading branch information
Cafnanc authored Aug 6, 2024
2 parents a1b3041 + 3babfb5 commit fd4a889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/services/profile/profile.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export class ProfileService {
var roles = userDetails.user_roles.map(function(item) {
return item['title'];
});
this.isMentor = roles.includes('MENTOR')?true:false;
this.isMentor = roles.includes('mentor')?true:false;
return roles
}

Expand Down

0 comments on commit fd4a889

Please sign in to comment.