fix: update segment filter logic to retain value and unit, enhance activity name mapping

This commit is contained in:
Dries Augustyns
2026-05-04 19:39:32 +02:00
parent a126563542
commit d1f357c300
@@ -333,7 +333,7 @@ const FilterRow = memo(function FilterRow({filter, onChange, onRemove, available
setOpen(false); setOpen(false);
setSearch(''); setSearch('');
}, },
[availableFields, filter.operator, fieldType, onChange, getDefaultValueForType, getOperatorsForType], [availableFields, filter.operator, filter.value, filter.unit, fieldType, onChange, getDefaultValueForType, getOperatorsForType],
); );
// Get label for selected field // Get label for selected field