diff --git a/src/components/DroneFlightRequestForm.astro b/src/components/DroneFlightRequestForm.astro index b1ad4fd..7604981 100644 --- a/src/components/DroneFlightRequestForm.astro +++ b/src/components/DroneFlightRequestForm.astro @@ -62,8 +62,8 @@ const frzGeoJsonEndpoint = `${pprApiBase}/drone-requests/frz`;
- - + +
@@ -407,7 +407,7 @@ const frzGeoJsonEndpoint = `${pprApiBase}/drone-requests/frz`; if (!fieldValue) return; const normalizedValue = key === 'operator_id' || key === 'flyer_id' ? fieldValue.toUpperCase() : fieldValue; - if (key === 'maximum_elevation_ft_amsl') { + if (key === 'maximum_elevation_ft_agl') { data[key] = Number.parseInt(normalizedValue, 10); } else if (key === 'location_latitude' || key === 'location_longitude') { data[key] = Number.parseFloat(normalizedValue);