-
Notifications
You must be signed in to change notification settings - Fork 156
Periodic request to /location?company_id #146
Copy link
Copy link
Open
Description
Testing bg-console-staging, I notice every few seconds the map gets cleared.
Observing the network tab, there's a request to /locations with an html response -- that should be JSON.
<div class="locations-scroll">
<table class="locations-table">
<thead>
<tr>
<th>UUID</th>
<th>Recorded</th>
<th>Coordinate</th>
<th>Accuracy</th>
<th>Speed</th>
<th>Event</th>
<th>Moving</th>
<th>Activity</th>
<th>Battery</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="9" class="empty-row">No locations recorded for this selection yet.</td>
</tr>
</tbody>
</table>
<div hx-swap-oob="outerHTML:#location-stats">
<div class="panel-heading" id="location-stats">
<p>0 recent locations · updates every 10s</p>
</div>
</div>
<script type="application/json" id="map-data" hx-swap-oob="outerHTML:#map-data">[]</script>
</div>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels