Skip to content

Commit

Permalink
feat: Add the ability to send a kudos from genral stream- MEED-2076 -…
Browse files Browse the repository at this point in the history
… Meeds-io/MIP#54(#366)

This change will fix the receiver field when send a kudos from the user profile.
  • Loading branch information
MayTekayaa authored and exo-swf committed Sep 27, 2023
1 parent 2893be0 commit 3be2098
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,9 @@ export default {
isLinkedKudos() {
return this.entityType === 'ACTIVITY' || this.entityType === 'COMMENT';
},
userProfile() {
return this.entityType === 'USER_PROFILE';
},
typeOfRelation() {
return this.isLinkedKudos ? 'mention_comment' : 'mention_activity_stream';
},
Expand Down

0 comments on commit 3be2098

Please sign in to comment.