mirror of
https://github.com/meshtastic/web.git
synced 2026-02-08 06:41:49 -05:00
Merge pull request #2 from thebentern/master
Format display of lat / lng
This commit is contained in:
@@ -80,8 +80,13 @@ const SidebarNodes = (props: sidebarNodesProps) => {
|
||||
<div className="flex">
|
||||
<GlobeIcon className="my-auto mr-2 w-5 h-5" />
|
||||
<p>
|
||||
{node.data.position?.latitudeI},
|
||||
{node.data.position?.longitudeI}
|
||||
{
|
||||
node.data.position?.latitudeI &&
|
||||
node.data.position?.longitudeI
|
||||
? `${node.data.position.latitudeI / 1e7},
|
||||
${node.data.position.longitudeI / 1e7}`
|
||||
: 'Unknown'
|
||||
}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user