Skip to content

Commit 6c2501c

Browse files
authored
fix virtual project completion metrics bug (#2670)
1 parent 0748b01 commit 6c2501c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/AdminPane/HOCs/WithCurrentProject/WithCurrentProject.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export const WithCurrentProject = function (WrappedComponent, options = {}) {
183183
this.setState({ loadingChallengeStats: true, challengeStatsAvailable: true });
184184

185185
// Used for burndown chart
186-
let activityStartDate = new Date(project);
186+
let activityStartDate = new Date(project.created);
187187
const challenges = _sortBy(this.challengeProjects(project.id, this.props), ["created"]);
188188

189189
if (challenges.length < PROJECT_CHALLENGE_LIMIT + 1) {

0 commit comments

Comments
 (0)