mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
don't include non-empty notes in the list
This commit is contained in:
parent
5ac3fb5514
commit
b476d071e7
1 changed files with 7 additions and 5 deletions
|
@ -43,11 +43,13 @@ impl Collection {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.collect();
|
.collect();
|
||||||
out.push(EmptyCardsForNote {
|
if !empty.is_empty() {
|
||||||
nid,
|
out.push(EmptyCardsForNote {
|
||||||
empty,
|
nid,
|
||||||
current_count,
|
empty,
|
||||||
})
|
current_count,
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(out)
|
Ok(out)
|
||||||
|
|
Loading…
Reference in a new issue