feat: Enhance inventory screens with category selection and product loading improvements
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:
@@ -154,7 +154,7 @@ class _InventoryScreenState extends ConsumerState<InventoryScreen> {
|
||||
final units = <String>[];
|
||||
final seenUnits = <String>{};
|
||||
for (final item in selectedItems) {
|
||||
final unit = (item.unit as String).trim();
|
||||
final unit = item.unit.trim();
|
||||
final key = unit.toLowerCase();
|
||||
if (seenUnits.add(key)) {
|
||||
units.add(unit);
|
||||
|
||||
Reference in New Issue
Block a user