feat: add categoryId mapping to product data in CreateInventoryScreen
This commit is contained in:
@@ -159,6 +159,7 @@ class _CreateInventoryScreenState
|
||||
(p) => (
|
||||
id: (p['id'] as num).toInt(),
|
||||
name: (p['canonicalName'] ?? p['name'] ?? '').toString(),
|
||||
categoryId: (p['categoryId'] as num?)?.toInt(),
|
||||
),
|
||||
)
|
||||
.toList();
|
||||
|
||||
Reference in New Issue
Block a user