Skip to content

Commit 7876673

Browse files
committed
Added navigation to work-manager app
1 parent 7be2ff9 commit 7876673

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/config/constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@ export const ACCOUNTS_APP_REGISTER_URL = process.env.ACCOUNTS_APP_REGISTER_URL |
711711

712712
export const TC_API_URL = `https://api.${DOMAIN}`
713713
export const DIRECT_PROJECT_URL = `https://www.${DOMAIN}/direct/projectOverview?formData.projectId=`
714+
export const WORK_MANAGER_APP = `https://challenges.${DOMAIN}/projects`
714715
export const SALESFORCE_PROJECT_LEAD_LINK = process.env.SALESFORCE_PROJECT_LEAD_LINK
715716
export const TC_NOTIFICATION_URL = process.env.TC_NOTIFICATION_URL || `${TC_API_URL}/v5/notifications`
716717
// Uncomment if you run TC Notifications locally

src/projects/detail/containers/ProjectInfoContainer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {
1717
PROJECT_ROLE_MANAGER,
1818
DIRECT_PROJECT_URL,
1919
SALESFORCE_PROJECT_LEAD_LINK,
20+
WORK_MANAGER_APP,
2021
PROJECT_STATUS_CANCELLED,
2122
PROJECT_STATUS_ACTIVE,
2223
PROJECT_STATUS_COMPLETED,
@@ -436,6 +437,7 @@ class ProjectInfoContainer extends React.Component {
436437
], currentMemberRole) > -1
437438
if (isMemberOrCopilot || isSuperUser) {
438439
directLinks = []
440+
directLinks.push({name: 'Launch Work Manager', href: `${WORK_MANAGER_APP}/${project.id}/challenges`})
439441
if (project.directProjectId) {
440442
directLinks.push({name: 'Project in Topcoder Direct', href: `${DIRECT_PROJECT_URL}${project.directProjectId}`})
441443
} else {

0 commit comments

Comments
 (0)