From c4b6e80fe7eda9063b867e3b80612990c5fc69f9 Mon Sep 17 00:00:00 2001 From: Daniel Lando Date: Wed, 15 May 2024 09:33:02 +0200 Subject: [PATCH] fix: rssi error --- src/lib/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils.js b/src/lib/utils.js index b8f14e30f47..4eb827eebc2 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -232,7 +232,7 @@ export function getRoute(item) { ].map( (r, i) => `${r}${ - repRSSI[i] && !isRssiError(repRSSI[i - 1]) + repRSSI[i - 1] && !isRssiError(repRSSI[i - 1]) ? ` (${rssiToString(repRSSI[i - 1])})` : '' }`,