don't exclude the default deck from the normal name list
https://forums.ankiweb.net/t/issue-backend-get-deck-names-doesnt-return-default-deck/52
This commit is contained in:
parent
10a1d06dce
commit
514c73f547
@ -469,7 +469,6 @@ impl Collection {
|
||||
.storage
|
||||
.get_all_deck_names()?
|
||||
.into_iter()
|
||||
.filter(|(id, _name)| id.0 != 1)
|
||||
.filter(|(id, _name)| match self.get_deck(*id) {
|
||||
Ok(Some(deck)) => !deck.is_filtered(),
|
||||
_ => true,
|
||||
|
Loading…
Reference in New Issue
Block a user