Fix node name in peers Dialog
This commit is contained in:
+1
-2
@@ -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">
|
<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()} />
|
<Hashicon size={24} value={node.data.num.toString()} />
|
||||||
<span className="my-auto">
|
<span className="my-auto">
|
||||||
{/* node.data.user?.longName */}
|
{node.data.user?.longName ??
|
||||||
{undefined ??
|
|
||||||
`Meshtastic_${base16
|
`Meshtastic_${base16
|
||||||
.stringify(node.data.user?.macaddr.subarray(4, 6) ?? [])
|
.stringify(node.data.user?.macaddr.subarray(4, 6) ?? [])
|
||||||
.toLowerCase()}`}
|
.toLowerCase()}`}
|
||||||
|
|||||||
Reference in New Issue
Block a user