Skip to content

Commit

Permalink
fix: round location score distance to nearest meter (#2497)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber authored Nov 19, 2024
1 parent e444fbc commit ce631dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export function LocationScoreDisplay({
: 'site.soil_id.soil_info.outside_map_label'
}
values={{
distance: match.distanceToNearestMapUnitM,
distance: match.distanceToNearestMapUnitM?.toFixed(0),
units: t('site.soil_id.soil_info.map_units_METRIC'),
}}
/>
Expand Down

0 comments on commit ce631dd

Please sign in to comment.