We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebd9571 commit cc6f3b4Copy full SHA for cc6f3b4
src/shared/components/challenge-detail/Specification/index.jsx
@@ -54,7 +54,7 @@ export default function ChallengeDetailsView(props) {
54
const phase = phases.find(item => item.name === phaseName);
55
const scoreCardConstraint = phase && phase.constraints && phase.constraints.find(item => item.name === 'Scorecard');
56
return scoreCardConstraint ? scoreCardConstraint.value : '';
57
- }
+ };
58
59
const roles = (userDetails || {}).roles || [];
60
const {
@@ -429,6 +429,7 @@ ChallengeDetailsView.propTypes = {
429
}),
430
metadata: PT.array,
431
events: PT.arrayOf(PT.string),
432
+ phases: PT.arrayOf(PT.any),
433
434
challengesUrl: PT.string.isRequired,
435
communitiesList: PT.arrayOf(PT.shape({
0 commit comments