feat: enhance inventory management with category and location filters
Test Suite / test (24.15.0) (push) Has been cancelled
Test Suite / test (24.15.0) (push) Has been cancelled
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user