mirror of
https://github.com/inventree/inventree-app.git
synced 2025-12-18 01:58:05 +00:00
Allow model class to be filtered
- Each subclass should provide a custom filtering function
This commit is contained in:
@@ -27,7 +27,6 @@ class _StockItemDisplayState extends State<StockItemDisplayWidget> {
|
||||
if (item == null) {
|
||||
return "Stock Item";
|
||||
} else {
|
||||
print(item.jsondata);
|
||||
return "Item: x ${item.partName}";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user