mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix card info failing to load with qt5 (#3681)
This commit is contained in:
parent
ca6002fd58
commit
4ee6dacaa3
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,8 @@ export function prepareData(revlog: RevlogEntry[], maxDays: number) {
|
|||
let daysSinceFirstLearn = 0;
|
||||
|
||||
revlog
|
||||
.toReversed()
|
||||
.slice()
|
||||
.reverse()
|
||||
.forEach((entry, index) => {
|
||||
const reviewTime = Number(entry.time);
|
||||
if (index === 0) {
|
||||
|
|
Loading…
Reference in a new issue