diff --git a/src/pages/Nodes.tsx b/src/pages/Nodes.tsx index 3e5db113..1ece9be5 100644 --- a/src/pages/Nodes.tsx +++ b/src/pages/Nodes.tsx @@ -57,7 +57,10 @@ export const NodesPage = (): JSX.Element => { {(node.snr + 10) * 5}raw , - {node.viaMqtt === false && node.hopsAway === 0? "Direct": node.hopsAway.toString() + " hops away"} + {node.lastHeard != 0 ? + (node.viaMqtt === false && node.hopsAway === 0 + ? "Direct": node.hopsAway.toString() + " hops away") + : "-"} {node.viaMqtt === true? ", via MQTT": ""} ])}