Add location data to comms

This commit is contained in:
Eli Ribble 2026-03-07 01:09:27 +00:00
parent 636a0379aa
commit 462e12dd6e
No known key found for this signature in database
2 changed files with 50 additions and 10 deletions

View file

@ -47,11 +47,13 @@
address: {
postal_code: "32801",
},
location: {
latitude: 28.5383,
longitude: -81.3792,
},
},
type: "nuisance",
latitude: 28.5383,
longitude: -81.3792,
reporterName: "John Smith",
reporterEmail: "john.smith@email.com",
timeOfDay: "Evening (6pm - 9pm)",
@ -423,7 +425,7 @@
<i class="bi bi-map fs-1"></i>
<p class="mb-0">Map View</p>
<small
x-text="selectedCommunication.latitude + ', ' + selectedCommunication.longitude"
x-text="selectedCommunication.public_report.location.latitude + ', ' + selectedCommunication.public_report.location.longitude"
></small>
</div>
</div>