Skip to content

Commit

Permalink
fix: Fix used meta site name reference - MEED-3024 - Meeds-io/meeds#1351
Browse files Browse the repository at this point in the history
 (#439) (#440)

Prior to this change, the Meta site name was referenced as 'defaultPortal'. The notion of 'default' portal doesn't exist anymore and was replaced by 'meta' site with 'aggregated' sites. This change will replace to use the Meta site name where the list of referenced applications are added.
  • Loading branch information
boubaker authored Dec 1, 2023
1 parent 187f2c5 commit 50b4ef9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function init() {
icon: 'fas fa-award',
match: (actionLabel) => kudosUserActions.includes(actionLabel),
getLink: (realization) => {
realization.link = `${eXo.env.portal.context}/${eXo.env.portal.defaultPortal}/activity?id=${realization?.objectId}`;
realization.link = `${eXo.env.portal.context}/${eXo.env.portal.metaPortalName}/activity?id=${realization?.objectId}`;
return realization.link;
}
},
Expand Down

0 comments on commit 50b4ef9

Please sign in to comment.