mirror of
https://github.com/inventree/inventree-app.git
synced 2026-10-04 06:25:54 +00:00
Display subcategory part count
This commit is contained in:
1 parent
57ab6546ab
commit
f32c9f024e
2 files changed
+3
No files matched your search
@@ -14,6 +14,8 @@ class InvenTreePartCategory extends InvenTreeModel {
|
||||
|
||||
String get pathstring => jsondata['pathstring'] ?? '';
|
||||
|
||||
int get partcount => jsondata['parts'] ?? 0;
|
||||
|
||||
InvenTreePartCategory() : super();
|
||||
|
||||
InvenTreePartCategory.fromJson(Map<String, dynamic> json) : super.fromJson(json) {
|
||||
|
||||
Reference in new issue
Block a user