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

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 authored May 9, 2024
2 parents d608af5 + 5248104 commit 232de0b
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 232de0b

Please sign in to comment.