From 2f78b64dfd01645338edc5482118d46a0e09d898 Mon Sep 17 00:00:00 2001 From: NIKOLYA PRODIGY <_prodigy_@mail.ru> Date: Wed, 27 May 2026 04:26:20 +0300 Subject: [PATCH] fix(nodes): correct singular hop label in connection status (#1055) --- packages/web/src/pages/Nodes/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/pages/Nodes/index.tsx b/packages/web/src/pages/Nodes/index.tsx index 2e5f996c..394426c5 100644 --- a/packages/web/src/pages/Nodes/index.tsx +++ b/packages/web/src/pages/Nodes/index.tsx @@ -165,7 +165,7 @@ const NodesPage = (): JSX.Element => { ? node?.viaMqtt === false && node.hopsAway === 0 ? t("nodesTable.connectionStatus.direct") : `${node.hopsAway?.toString()} ${ - (node.hopsAway ?? 0 > 1) ? t("unit.hop.plural") : t("unit.hops_one") + (node.hopsAway ?? 0) > 1 ? t("unit.hop.plural") : t("unit.hop.one") } ${t("nodesTable.connectionStatus.away")}` : t("unknown.longName")} {node?.viaMqtt === true ? t("nodesTable.connectionStatus.viaMqtt") : ""}