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
|
.storage
|
||||||
.get_all_deck_names()?
|
.get_all_deck_names()?
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.filter(|(id, _name)| id.0 != 1)
|
|
||||||
.filter(|(id, _name)| match self.get_deck(*id) {
|
.filter(|(id, _name)| match self.get_deck(*id) {
|
||||||
Ok(Some(deck)) => !deck.is_filtered(),
|
Ok(Some(deck)) => !deck.is_filtered(),
|
||||||
_ => true,
|
_ => true,
|
||||||
|
Loading…
Reference in New Issue
Block a user