Respect macCycleLength in getCyclesBefore
This commit is contained in:
1 parent
9bd0eedfaf
commit
9fd0105506
2 files changed
+126
No files matched your search
@@ -62,6 +62,8 @@ export default function config(opts) {
|
||||
return cycleStartsSortedByDate
|
||||
.slice(startFromHere)
|
||||
.map(getCycleForCycleStartDay)
|
||||
// filter the ones exceeding macCycleLength
|
||||
.filter(cycle => cycle)
|
||||
}
|
||||
|
||||
function getCycleForCycleStartDay(startDay) {
|
||||
|
||||
Reference in new issue
Block a user