@@ -26,13 +26,12 @@ import {
2626 REVIEW_TYPES ,
2727 MILESTONE_STATUS ,
2828 PHASE_PRODUCT_CHALLENGE_ID_FIELD ,
29- QA_TRACK_ID , DESIGN_CHALLENGE_TYPES ,
29+ QA_TRACK_ID ,
3030 DS_TRACK_ID
3131} from '../../config/constants'
3232import { PrimaryButton , OutlineButton } from '../Buttons'
3333import TrackField from './Track-Field'
3434import TypeField from './Type-Field'
35- import ChallengeTypeField from './ChallengeType-Field'
3635import ChallengeNameField from './ChallengeName-Field'
3736import CopilotField from './Copilot-Field'
3837import ReviewTypeField from './ReviewType-Field'
@@ -1561,11 +1560,9 @@ class ChallengeEditor extends Component {
15611560 const currentChallengeId = this . getCurrentChallengeId ( )
15621561 const showTimeline = false // disables the timeline for time being https://github.com/topcoder-platform/challenge-engine-ui/issues/706
15631562 const copilotResources = metadata . members || challengeResources
1564- const isDesignChallenge = challenge . trackId === DES_TRACK_ID
15651563 const isDevChallenge = challenge . trackId === DEV_TRACK_ID
15661564 const isMM = challenge . typeId === MARATHON_TYPE_ID
15671565 const isChallengeType = challenge . typeId === CHALLENGE_TYPE_ID
1568- const showRoundType = isDesignChallenge && isChallengeType
15691566 const showDashBoard = ( challenge . trackId === DS_TRACK_ID && isChallengeType ) || ( isDevChallenge && isMM )
15701567 const useDashboardData = _ . find ( challenge . metadata , { name : 'show_data_dashboard' } )
15711568 const useDashboard = useDashboardData ? useDashboardData . value : true
0 commit comments