From 6b4c6ab942662d1e681d38cdcc85e577d4c4b570 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Mon, 9 Mar 2026 18:28:50 +0000 Subject: [PATCH] Properly reference more address properties --- html/template/rmo/nuisance.html | 6 +++--- html/template/rmo/water.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/html/template/rmo/nuisance.html b/html/template/rmo/nuisance.html index f5c6a7bd..da4d3375 100644 --- a/html/template/rmo/nuisance.html +++ b/html/template/rmo/nuisance.html @@ -80,8 +80,8 @@ latlngAccuracyValue.value = props.distance; number.value = props.address_components.number; postalcode.value = props.address_components.postal_code; - locality.value = context.locality.name; - region.value = props.context.whosonfirst.region.abbreviation; + locality.value = context.whosonfirst.locality.name; + region.value = context.whosonfirst.region.abbreviation; street.value = props.address_components.street; } function toggleCollapse(something) { @@ -232,7 +232,7 @@ - + diff --git a/html/template/rmo/water.html b/html/template/rmo/water.html index 6d921e36..1b02eafb 100644 --- a/html/template/rmo/water.html +++ b/html/template/rmo/water.html @@ -78,7 +78,7 @@ function setLocationInputs(location) { latlngAccuracyValue.value = props.distance; number.value = props.address_components.number; postalcode.value = props.address_components.postal_code; - locality.value = context.locality.name; + locality.value = context.whosonfirst.locality.name; region.value = props.context.whosonfirst.region.abbreviation; street.value = props.address_components.street; }