mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 09:16:38 -04:00
Fix new card positions being included in future due graph
Introduced in f60de39015
https://forums.ankiweb.net/t/anki-2-1-52-qt6-stats-bug-future-due-backlog/20016
This commit is contained in:
parent
826e135510
commit
a451fec5a1
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ export function gatherData(data: Stats.GraphsResponse): GraphData {
|
||||||
};
|
};
|
||||||
let haveBacklog = false;
|
let haveBacklog = false;
|
||||||
const due = (data.cards as Cards.Card[])
|
const due = (data.cards as Cards.Card[])
|
||||||
.filter((c: Cards.Card) => c.queue >= 0)
|
.filter((c: Cards.Card) => c.queue > 0)
|
||||||
.map((c: Cards.Card) => {
|
.map((c: Cards.Card) => {
|
||||||
// - testing just odue fails on day 1
|
// - testing just odue fails on day 1
|
||||||
// - testing just odid fails on lapsed cards that
|
// - testing just odid fails on lapsed cards that
|
||||||
|
|
Loading…
Reference in a new issue