Skip to content

Commit

Permalink
feat: fix default avatar when sending kudos - MEED-3266 - Meeds-io/MI…
Browse files Browse the repository at this point in the history
…Ps#83 (#460)

Prior to this change, the generated default avatar is not displayed in the send kudos drawer for the receiver avatar.
This change allows to add the user enabled property information to then receiver details to display the default avatar is the user is enabled.
  • Loading branch information
SaraBoutej authored Jan 26, 2024
1 parent eb3d960 commit c82ae63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kudos-webapps/src/main/webapp/vue-app/js/KudosIdentity.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export function getIdentityDetails(urlId, type, remoteId) {
ownerDetails.username = identityDetails.username;
ownerDetails.position = identityDetails.position;
ownerDetails.external = identityDetails.external;
ownerDetails.enabled = identityDetails.enabled;
} else {
ownerDetails.notAuthorized = true;
}
Expand Down

0 comments on commit c82ae63

Please sign in to comment.