Skip to content

Commit fca82b5

Browse files
committed
Cleanup from multi-round stuff
1 parent 081868e commit fca82b5

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

src/components/ChallengeEditor/ChallengeView/index.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ const ChallengeView = ({
9797
const showTimeline = false // disables the timeline for time being https://github.com/topcoder-platform/challenge-engine-ui/issues/706
9898
const isTask = _.get(challenge, 'task.isTask', false)
9999
const phases = _.get(challenge, 'phases', [])
100-
const showCheckpointPrizes = _.get(challenge, 'timelineTemplateId') === MULTI_ROUND_CHALLENGE_TEMPLATE_ID
101100
const isDataScience = challenge.trackId === DS_TRACK_ID
102101
const useDashboardData = _.find(challenge.metadata, { name: 'show_data_dashboard' })
103102
const useDashboard = useDashboardData ? useDashboardData.value : true
@@ -241,11 +240,6 @@ const ChallengeView = ({
241240
readOnly
242241
/>}
243242
<ChallengePrizesField challenge={challenge} readOnly />
244-
{
245-
showCheckpointPrizes && (
246-
<CheckpointPrizesField challenge={challenge} readOnly />
247-
)
248-
}
249243
<CopilotFeeField challenge={challenge} readOnly />
250244
<ChallengeTotalField challenge={challenge} />
251245
</div>

src/components/ChallengeEditor/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
REVIEW_TYPES,
2727
MILESTONE_STATUS,
2828
PHASE_PRODUCT_CHALLENGE_ID_FIELD,
29-
QA_TRACK_ID, DESIGN_CHALLENGE_TYPES, ROUND_TYPES,
29+
QA_TRACK_ID, DESIGN_CHALLENGE_TYPES,
3030
DS_TRACK_ID
3131
} from '../../config/constants'
3232
import { PrimaryButton, OutlineButton } from '../Buttons'

src/config/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,4 +287,4 @@ export const MILESTONE_STATUS = {
287287
BLOCKED: 'paused',
288288
COMPLETED: 'completed',
289289
CANCELLED: 'cancelled'
290-
}
290+
}

0 commit comments

Comments
 (0)