Skip to content

Commit

Permalink
feal: Display last comments on kudos activity - MEED-4546 - Meeds-io/…
Browse files Browse the repository at this point in the history
…MIPs#124 (#483)

This PR allows to add kudos receiver action type to the list of required actions to display the last two comments in activity.
  • Loading branch information
SaraBoutej committed May 21, 2024
1 parent 78f9e53 commit fa953fc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion kudos-webapps/src/main/webapp/vue-app/js/Kudos.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,15 @@ export function registerActivityActionExtension() {
}
},
canEdit: activityOrComment => activityOrComment.identity.id === eXo.env.portal.userIdentityId,
forceCanEditOverwrite: true,
forceCanEditOverwrite: true
},
});

extensionRegistry.registerExtension('activity', 'expand-action-type', {
id: 'KudosActivityReceiverNotification',
rank: 30,
});

extensionRegistry.registerExtension('activity', 'action', {
id: 'cancelKudos',
labelKey: 'kudos.label.cancelKudos',
Expand Down

0 comments on commit fa953fc

Please sign in to comment.