File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
components/ChallengeEditor/ChallengeView Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ install_dependency: &install_dependency
2222 sudo apt update
2323 sudo apt install python3-pip
2424 sudo pip3 install awscli --upgrade
25+ sudo pip3 install docker==6.1.3
2526 sudo pip3 install docker-compose
2627
2728install_test_dependency : &install_test_dependency
@@ -152,7 +153,7 @@ workflows:
152153 context : org-global
153154 filters : &filters-dev
154155 branches :
155- only : ['develop', 'multiround', 'release_0.20.9']
156+ only : ['develop', 'multiround', 'release_0.20.9', 'metadata-fix' ]
156157
157158 # Production builds are exectuted only on tagged commits to the
158159 # master branch.
Original file line number Diff line number Diff 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 } >
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ export const updateChallengePhaseBeforeSendRequest = (challengeDetail) => {
198198 } ) )
199199 return challengeDetailTmp
200200 }
201- if ( challengeDetail . metadata && challengeDetail . metadata . length > 0 ) {
201+ if ( challengeDetail . metadata && challengeDetail . metadata . length > 0 ) {
202202 challengeDetail . metadata = challengeDetail . metadata . map ( m => {
203203 // check if value is boolean and convert to string
204204 if ( typeof m . value === 'boolean' ) {
You can’t perform that action at this time.
0 commit comments