We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88dbdb5 commit 6f75f09Copy full SHA for 6f75f09
src/projects/detail/components/SimplePlan/ManageMilestones/ManageMilestones.jsx
@@ -116,8 +116,7 @@ class ManageMilestones extends React.Component {
116
let expandList = this.state.expandList
117
const { onGetChallenges } = this.props
118
119
- let challengeIds = _.map(milestone.products, `details.${CHALLENGE_ID_MAPPING}`).slice(0, 6)
120
- challengeIds = _.filter(challengeIds)
+ const challengeIds = _.filter(_.map(milestone.products, `details.${CHALLENGE_ID_MAPPING}`)).slice(0, 6)
121
122
if (isExpand) {
123
if (challengeIds.length) {
0 commit comments