fix mature cutoff in reviews graph

https://forums.ankiweb.net/t/statistics-bugs-after-update-2-1-5-to-2-1-29/1620/4
This commit is contained in:
Damien Elmes 2020-08-01 10:04:05 +10:00
parent 1353590a92
commit 07594bc375

View File

@ -57,7 +57,7 @@ export function gatherData(data: pb.BackendProto.GraphsOut): GraphData {
switch (review.reviewKind) {
case ReviewKind.REVIEW:
if (review.interval < 21) {
if (review.lastInterval < 21) {
countEntry.young += 1;
timeEntry.young += review.takenMillis;
} else {