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 (#461)

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 committed Feb 7, 2024
1 parent 07fe37c commit 95d2374
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 95d2374

Please sign in to comment.