Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ install_dependency: &install_dependency
sudo apt update
sudo apt install python3-pip
sudo pip3 install awscli --upgrade
sudo pip3 install docker==6.1.3
sudo pip3 install docker-compose

install_test_dependency: &install_test_dependency
Expand Down Expand Up @@ -152,7 +153,7 @@ workflows:
context : org-global
filters: &filters-dev
branches:
only: ['develop', 'multiround', 'release_0.20.9']
only: ['develop', 'multiround', 'release_0.20.9', 'metadata-fix']

# Production builds are exectuted only on tagged commits to the
# master branch.
Expand Down
2 changes: 1 addition & 1 deletion src/components/ChallengeEditor/ChallengeView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const ChallengeView = ({
const showCheckpointPrizes = _.get(challenge, 'timelineTemplateId') === MULTI_ROUND_CHALLENGE_TEMPLATE_ID
const isDataScience = challenge.trackId === DS_TRACK_ID
const useDashboardData = _.find(challenge.metadata, { name: 'show_data_dashboard' })
const useDashboard = useDashboardData ? useDashboardData.value : true
const useDashboard = useDashboardData ? (useDashboardData.value === 'true') : false

return (
<div className={styles.wrapper}>
Expand Down
2 changes: 1 addition & 1 deletion src/util/date.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export const updateChallengePhaseBeforeSendRequest = (challengeDetail) => {
}))
return challengeDetailTmp
}
if(challengeDetail.metadata && challengeDetail.metadata.length > 0) {
if (challengeDetail.metadata && challengeDetail.metadata.length > 0) {
challengeDetail.metadata = challengeDetail.metadata.map(m => {
// check if value is boolean and convert to string
if (typeof m.value === 'boolean') {
Expand Down