diff --git a/rslib/src/notetype/emptycards.rs b/rslib/src/notetype/emptycards.rs index f579f9a1d..825972f56 100644 --- a/rslib/src/notetype/emptycards.rs +++ b/rslib/src/notetype/emptycards.rs @@ -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)