mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
Fix the sidebar and the map marker popup
This commit is contained in:
parent
4af91748f0
commit
2556e2ae70
2 changed files with 4 additions and 4 deletions
|
|
@ -27,9 +27,9 @@ export default class extends Controller {
|
|||
<b>Timestamp:</b> ${this.formatDate(marker[4])}<br>
|
||||
<b>Latitude:</b> ${marker[0]}<br>
|
||||
<b>Longitude:</b> ${marker[1]}<br>
|
||||
<b>Altitude:</b> ${marker[3]}<br>
|
||||
<b>Velocity:</b> ${marker[5]}<br>
|
||||
<b>Battery:</b> ${marker[2]}<br>
|
||||
<b>Altitude:</b> ${marker[3]}m<br>
|
||||
<b>Velocity:</b> ${marker[5]}km/h<br>
|
||||
<b>Battery:</b> ${marker[2]}%<br>
|
||||
`;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<%= "#{@distance} km" if @distance %>
|
||||
|
||||
<% if @countries_and_cities.any? %>
|
||||
<% if @countries_and_cities&.any? %>
|
||||
<% @countries_and_cities.each do |country| %>
|
||||
<h2 class="text-lg font-semibold"><%= country[:country] %></h2>
|
||||
<ul>
|
||||
|
|
|
|||
Loading…
Reference in a new issue