don't include non-empty notes in the list
This commit is contained in:
parent
5ac3fb5514
commit
b476d071e7
@ -43,11 +43,13 @@ impl Collection {
|
||||
}
|
||||
})
|
||||
.collect();
|
||||
out.push(EmptyCardsForNote {
|
||||
nid,
|
||||
empty,
|
||||
current_count,
|
||||
})
|
||||
if !empty.is_empty() {
|
||||
out.push(EmptyCardsForNote {
|
||||
nid,
|
||||
empty,
|
||||
current_count,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Ok(out)
|
||||
|
Loading…
Reference in New Issue
Block a user