Fix category bug around "empty" category

This commit is contained in:
2023-06-07 19:56:04 -04:00
parent 5eb90ac1e1
commit e18abcdcb8
2 changed files with 5 additions and 3 deletions
@@ -122,7 +122,6 @@ class CategoriesAPI extends ChangeNotifier {
Query.orderAsc("number"),
]);
_categories = response.documents;
_categories.removeWhere((element) => element.data['number'] == -1);
notifyListeners();
_ready = true;
}