Skip to content

Commit

Permalink
Merge branch 'main' into 335-milestones
Browse files Browse the repository at this point in the history
  • Loading branch information
MadLamprey authored Apr 1, 2024
2 parents 91b960a + b603307 commit 6b465df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/core/services/filters.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,14 @@ export class FiltersService {
getMilestonesForCurrentlyActive(): Milestone[] {
const earliestOpenMilestone = this.milestoneService.getEarliestOpenMilestone();
if (earliestOpenMilestone) {
return [earliestOpenMilestone];
return [earliestOpenMilestone, Milestone.PRWithoutMilestone];
}

const latestClosedMilestone = this.milestoneService.getLatestClosedMilestone();
if (latestClosedMilestone) {
return [latestClosedMilestone];
return [latestClosedMilestone, Milestone.PRWithoutMilestone];
}

return this.milestoneService.milestones;
return [...this.milestoneService.milestones, Milestone.PRWithoutMilestone];
}
}

0 comments on commit 6b465df

Please sign in to comment.