Skip to content

Commit

Permalink
Fix challenge checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgasper committed Apr 16, 2024
1 parent 26cc44a commit 96d2774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ChallengeEditor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1647,7 +1647,7 @@ class ChallengeEditor extends Component {
const isChallengeType = challenge.typeId === CHALLENGE_TYPE_ID
const showRoundType = isDesignChallenge && isChallengeType
const showCheckpointPrizes = challenge.timelineTemplateId === MULTI_ROUND_CHALLENGE_TEMPLATE_ID
const showDashBoard = (challenge.trackId === DS_TRACK_ID && isChallengeType) || (isDevChallenge && isMM)
const showDashBoard = (challenge.trackId === DS_TRACK_ID && isChallengeType) || (isDevChallenge && isMM) || (isDevChallenge && isChallengeType)
const useDashboardData = _.find(challenge.metadata, { name: 'show_data_dashboard' })

const useDashboard = useDashboardData
Expand Down

0 comments on commit 96d2774

Please sign in to comment.