@@ -26,13 +26,12 @@ import {
26
26
REVIEW_TYPES ,
27
27
MILESTONE_STATUS ,
28
28
PHASE_PRODUCT_CHALLENGE_ID_FIELD ,
29
- QA_TRACK_ID , DESIGN_CHALLENGE_TYPES ,
29
+ QA_TRACK_ID ,
30
30
DS_TRACK_ID
31
31
} from '../../config/constants'
32
32
import { PrimaryButton , OutlineButton } from '../Buttons'
33
33
import TrackField from './Track-Field'
34
34
import TypeField from './Type-Field'
35
- import ChallengeTypeField from './ChallengeType-Field'
36
35
import ChallengeNameField from './ChallengeName-Field'
37
36
import CopilotField from './Copilot-Field'
38
37
import ReviewTypeField from './ReviewType-Field'
@@ -1561,11 +1560,9 @@ class ChallengeEditor extends Component {
1561
1560
const currentChallengeId = this . getCurrentChallengeId ( )
1562
1561
const showTimeline = false // disables the timeline for time being https://github.com/topcoder-platform/challenge-engine-ui/issues/706
1563
1562
const copilotResources = metadata . members || challengeResources
1564
- const isDesignChallenge = challenge . trackId === DES_TRACK_ID
1565
1563
const isDevChallenge = challenge . trackId === DEV_TRACK_ID
1566
1564
const isMM = challenge . typeId === MARATHON_TYPE_ID
1567
1565
const isChallengeType = challenge . typeId === CHALLENGE_TYPE_ID
1568
- const showRoundType = isDesignChallenge && isChallengeType
1569
1566
const showDashBoard = ( challenge . trackId === DS_TRACK_ID && isChallengeType ) || ( isDevChallenge && isMM )
1570
1567
const useDashboardData = _ . find ( challenge . metadata , { name : 'show_data_dashboard' } )
1571
1568
const useDashboard = useDashboardData ? useDashboardData . value : true
0 commit comments