Skip to content

Commit ab8608d

Browse files
authored
Merge pull request #6975 from topcoder-platform/develop
PROD - Deploy new feature for dashboard support on code challenges
2 parents 79c1eb2 + 2e565d9 commit ab8608d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/shared/components/challenge-detail/Header/TabSelector/index.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default function ChallengeViewSelector(props) {
4242
viewAsTable,
4343
} = props;
4444

45-
let showDashboard;
45+
let showDashboard = false;
4646
const { type, tags, metadata } = challenge;
4747
const dashboardMetadata = _.find(metadata, { name: 'show_data_dashboard' });
4848
if (dashboardMetadata) {
@@ -307,7 +307,7 @@ export default function ChallengeViewSelector(props) {
307307
return '';
308308
})()}
309309
{
310-
(challenge.track.toLowerCase() === 'data science' && showDashboard) && (
310+
(showDashboard) && (
311311
<a
312312
tabIndex="0"
313313
role="tab"

src/shared/components/challenge-detail/Registrants/index.jsx

-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ export default class Registrants extends React.Component {
137137
const {
138138
statisticsData,
139139
} = this.props;
140-
console.log(JSON.stringify(statisticsData, null, 4));
141140
let submissionDate;
142141
const statistic = (statisticsData || []).find(x => x.handle === registrant.memberHandle);
143142
if (statistic && statistic.submissions && statistic.submissions.length > 0) {

0 commit comments

Comments
 (0)