diff --git a/src/pages/Nodes.tsx b/src/pages/Nodes.tsx index f4690cf2..f9a46cb0 100644 --- a/src/pages/Nodes.tsx +++ b/src/pages/Nodes.tsx @@ -10,6 +10,7 @@ import { Button } from "@components/UI/Button.js"; import { TrashIcon } from "lucide-react"; import { useAppStore } from "@app/core/stores/appStore"; + export interface DeleteNoteDialogProps { open: boolean; onOpenChange: (open: boolean) => void; @@ -66,6 +67,17 @@ export const NodesPage = (): JSX.Element => { {Math.min(Math.max((node.snr + 10) * 5, 0), 100)}%/ {(node.snr + 10) * 5}raw , + + {node.lastHeard != 0 ? + (node.viaMqtt === false && node.hopsAway === 0 + ? "Direct": node.hopsAway.toString() + " hops away") + : "-"} + {node.viaMqtt === true? ", via MQTT": ""} + , + ])} />