From 4a28a166393240d24c6ef54ad0462cf96aa0c078 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Tue, 14 Apr 2026 15:46:52 +0000 Subject: [PATCH] Show address location, not reporter location, in the status page --- ts/rmo/view/StatusByID.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ts/rmo/view/StatusByID.vue b/ts/rmo/view/StatusByID.vue index 7a4c8d1f..b65a930c 100644 --- a/ts/rmo/view/StatusByID.vue +++ b/ts/rmo/view/StatusByID.vue @@ -173,13 +173,20 @@ const district = computedAsync(async (): Promise => { return await storeDistrict.byURI(report.value.district); }); const markers = computed((): Marker[] => { - if (!(report.value && report.value.location)) { + if ( + !( + report.value && + report.value.address.location && + (report.value.address.location.latitude || + report.value.address.location.longitude) + ) + ) { return []; } return [ { id: props.id, - location: report.value.location, + location: report.value.address.location, }, ]; });