Browse Source

Fix node name in peers Dialog

pull/66/head
Sacha Weatherstone 4 years ago
parent
commit
23f380a8a7
  1. 3
      src/pages/Peers.tsx

3
src/pages/Peers.tsx

@ -72,8 +72,7 @@ export const PeersPage = (): JSX.Element => {
<td className="flex gap-2 whitespace-nowrap py-2 pr-3 pl-6 text-sm font-medium text-gray-900">
<Hashicon size={24} value={node.data.num.toString()} />
<span className="my-auto">
{/* node.data.user?.longName */}
{undefined ??
{node.data.user?.longName ??
`Meshtastic_${base16
.stringify(node.data.user?.macaddr.subarray(4, 6) ?? [])
.toLowerCase()}`}

Loading…
Cancel
Save