feat: enhance inventory management with category and location filters
Test Suite / test (24.15.0) (push) Has been cancelled

This commit is contained in:
Nils-Johan Gynther
2026-05-07 07:51:47 +02:00
parent e7251fd94c
commit 7f7e4c24a8
6 changed files with 238 additions and 188 deletions
+4 -1
View File
@@ -121,7 +121,10 @@ final appRouterProvider = Provider<GoRouter>((ref) {
// /inventory/create must be listed before /inventory/:id.
GoRoute(
path: '/inventory/create',
builder: (context, state) => const CreateInventoryScreen(),
builder: (context, state) {
final destination = state.uri.queryParameters['destination'];
return CreateInventoryScreen(initialDestination: destination);
},
),
GoRoute(
path: '/inventory/:id',