From 62667fd76d19310ef4920cdfea871ebc1c6c13eb Mon Sep 17 00:00:00 2001 From: Nils-Johan Gynther Date: Fri, 1 May 2026 02:09:58 +0200 Subject: [PATCH] feat: add categoryId mapping to product data in CreateInventoryScreen --- .../features/inventory/presentation/create_inventory_screen.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/flutter/lib/features/inventory/presentation/create_inventory_screen.dart b/flutter/lib/features/inventory/presentation/create_inventory_screen.dart index ed4fd475..dbbd0446 100644 --- a/flutter/lib/features/inventory/presentation/create_inventory_screen.dart +++ b/flutter/lib/features/inventory/presentation/create_inventory_screen.dart @@ -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();