Skip to content

Commit

Permalink
Merge pull request #6975 from topcoder-platform/develop
Browse files Browse the repository at this point in the history
PROD - Deploy new feature for dashboard support on code challenges
  • Loading branch information
jmgasper authored Apr 19, 2024
2 parents 79c1eb2 + 2e565d9 commit ab8608d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function ChallengeViewSelector(props) {
viewAsTable,
} = props;

let showDashboard;
let showDashboard = false;
const { type, tags, metadata } = challenge;
const dashboardMetadata = _.find(metadata, { name: 'show_data_dashboard' });
if (dashboardMetadata) {
Expand Down Expand Up @@ -307,7 +307,7 @@ export default function ChallengeViewSelector(props) {
return '';
})()}
{
(challenge.track.toLowerCase() === 'data science' && showDashboard) && (
(showDashboard) && (
<a
tabIndex="0"
role="tab"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ export default class Registrants extends React.Component {
const {
statisticsData,
} = this.props;
console.log(JSON.stringify(statisticsData, null, 4));
let submissionDate;
const statistic = (statisticsData || []).find(x => x.handle === registrant.memberHandle);
if (statistic && statistic.submissions && statistic.submissions.length > 0) {
Expand Down

0 comments on commit ab8608d

Please sign in to comment.