Skip to content

Commit 11321b8

Browse files
committed
Remove OR link from system-admin app
1 parent b33e1d5 commit 11321b8

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

src/apps/admin/src/lib/components/ChallengeList/ChallengeList.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,15 +261,15 @@ const Actions: FC<{
261261
{hasLegacyId && (
262262
<a
263263
href={
264-
`${EnvironmentConfig.ADMIN.ONLINE_REVIEW_URL}/actions/ViewProjectDetails?pid=${props.challenge.legacyId}` /* eslint-disable-line max-len */
264+
`${EnvironmentConfig.ADMIN.REVIEW_UI_URL}/=${props.challenge.id}` /* eslint-disable-line max-len */
265265
}
266266
target='_blank'
267267
rel='noreferrer'
268268
>
269-
Online Review
269+
Review UI
270270
</a>
271271
)}
272-
{!hasLegacyId && <span>Online Review</span>}
272+
{!hasLegacyId && <span>Review UI</span>}
273273
</li>
274274
</ul>
275275
</DropdownMenu>

src/config/environments/default.env.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ export const ADMIN = {
118118
DEFAULT_PAYMENT_TERMS: 1,
119119
DIRECT_URL: 'https://www.topcoder-dev.com/direct',
120120
ONLINE_REVIEW_URL: 'https://software.topcoder-dev.com/review',
121+
REVIEW_UI_URL: 'https://review.topcoder-dev.com',
121122
SUBMISSION_SCAN_TOPIC: 'submission.scan.complete',
122123
WORK_MANAGER_URL: 'https://challenges.topcoder-dev.com',
123124
}

src/config/environments/global-config.model.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export interface GlobalConfig {
6262
DIRECT_URL: string
6363
WORK_MANAGER_URL: string
6464
ONLINE_REVIEW_URL: string
65+
REVIEW_UI_URL: string
6566
CHALLENGE_URL: string
6667
AV_SCAN_SCORER_REVIEW_TYPE_ID: string
6768
AGREE_ELECTRONICALLY: string

src/config/environments/prod.env.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const ADMIN = {
2323
DEFAULT_PAYMENT_TERMS: 1,
2424
DIRECT_URL: 'https://www.topcoder.com/direct',
2525
ONLINE_REVIEW_URL: 'https://software.topcoder.com/review',
26+
REVIEW_UI_URL: 'https://review.topcoder.com',
2627
SUBMISSION_SCAN_TOPIC: 'submission.scan.complete',
2728
WORK_MANAGER_URL: 'https://challenges.topcoder.com',
2829
}

0 commit comments

Comments
 (0)