From 8fc5c1fa29b739abde4c319997c19c3ab0955be0 Mon Sep 17 00:00:00 2001 From: James Pattinson Date: Mon, 29 Jun 2026 06:27:22 -0400 Subject: [PATCH] Drones to AGL --- src/components/DroneFlightRequestForm.astro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.52.0