Skip to content

Commit d2cf6fa

Browse files
committed
fix dashboard checkbox check
1 parent c2e927b commit d2cf6fa

File tree

1 file changed

+1
-1
lines changed
  • src/components/ChallengeEditor/ChallengeView

1 file changed

+1
-1
lines changed

src/components/ChallengeEditor/ChallengeView/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const ChallengeView = ({
102102
const showCheckpointPrizes = _.get(challenge, 'timelineTemplateId') === MULTI_ROUND_CHALLENGE_TEMPLATE_ID
103103
const isDataScience = challenge.trackId === DS_TRACK_ID
104104
const useDashboardData = _.find(challenge.metadata, { name: 'show_data_dashboard' })
105-
const useDashboard = useDashboardData ? useDashboardData.value : true
105+
const useDashboard = useDashboardData ? (useDashboardData.value === 'true') : false
106106

107107
return (
108108
<div className={styles.wrapper}>

0 commit comments

Comments
 (0)