diff --git a/src/config/constants.js b/src/config/constants.js index 1dcd7e752..a56c089a5 100644 --- a/src/config/constants.js +++ b/src/config/constants.js @@ -711,6 +711,7 @@ export const ACCOUNTS_APP_REGISTER_URL = process.env.ACCOUNTS_APP_REGISTER_URL | export const TC_API_URL = `https://api.${DOMAIN}` export const DIRECT_PROJECT_URL = `https://www.${DOMAIN}/direct/projectOverview?formData.projectId=` +export const WORK_MANAGER_APP = `https://challenges.${DOMAIN}/projects` export const SALESFORCE_PROJECT_LEAD_LINK = process.env.SALESFORCE_PROJECT_LEAD_LINK export const TC_NOTIFICATION_URL = process.env.TC_NOTIFICATION_URL || `${TC_API_URL}/v5/notifications` // Uncomment if you run TC Notifications locally diff --git a/src/projects/detail/containers/ProjectInfoContainer.js b/src/projects/detail/containers/ProjectInfoContainer.js index f4d252ecc..71d33800b 100644 --- a/src/projects/detail/containers/ProjectInfoContainer.js +++ b/src/projects/detail/containers/ProjectInfoContainer.js @@ -17,6 +17,7 @@ import { PROJECT_ROLE_MANAGER, DIRECT_PROJECT_URL, SALESFORCE_PROJECT_LEAD_LINK, + WORK_MANAGER_APP, PROJECT_STATUS_CANCELLED, PROJECT_STATUS_ACTIVE, PROJECT_STATUS_COMPLETED, @@ -436,6 +437,7 @@ class ProjectInfoContainer extends React.Component { ], currentMemberRole) > -1 if (isMemberOrCopilot || isSuperUser) { directLinks = [] + directLinks.push({name: 'Launch Work Manager', href: `${WORK_MANAGER_APP}/${project.id}/challenges`}) if (project.directProjectId) { directLinks.push({name: 'Project in Topcoder Direct', href: `${DIRECT_PROJECT_URL}${project.directProjectId}`}) } else {