mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-13 18:55:34 +00:00
.empty() -> []
Turns out .empty() creates an empty list which is fixed length!
This commit is contained in:
@ -39,9 +39,9 @@ class CustomerListWidget extends CompanyListWidget {
|
||||
|
||||
class _CompanyListState extends RefreshableState<CompanyListWidget> {
|
||||
|
||||
var _companies = new List<InvenTreeCompany>.empty();
|
||||
List<InvenTreeCompany> _companies = [];
|
||||
|
||||
var _filteredCompanies = new List<InvenTreeCompany>.empty();
|
||||
List<InvenTreeCompany> _filteredCompanies = [];
|
||||
|
||||
String _title = "Companies";
|
||||
|
||||
|
Reference in New Issue
Block a user