Skip to content

Commit

Permalink
Fixed an issue with closed initiatives actually being processed in th…
Browse files Browse the repository at this point in the history
…e future roadmap
  • Loading branch information
Fgerthoffert committed Nov 9, 2019
1 parent 0a3d899 commit a79fc73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/utils/initiatives/crunchRoadmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const crunchRoadmap = (
// We filter out initiatives without assignees as well as initiatives not related to the team
const teamInitiatives = openInitiatives
.filter(i => i.fields.assignee !== null)
.filter(i => i.fields.status.StatusCategory !== 'Done')
.filter(i => i.fields.status.statusCategory.name !== 'Done')
.filter(i => getTeamId(i.fields.assignee.name) === getTeamId(team.team));
for (const initiative of teamInitiatives) {
// Start naive, add the calendar and completion into a template
Expand Down

0 comments on commit a79fc73

Please sign in to comment.