Skip to content

Commit 9cdee3f

Browse files
committed
fix: make sure to check lastupdatetime for nordic-nrplus devices
1 parent e0d2438 commit 9cdee3f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/context/Devices.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,11 @@ const getDeviceLastUpdateTime = (
561561
state?.gnss?.ts,
562562
state?.roam?.ts,
563563
state?.fg?.ts,
564+
state?.nordicNrplus?.connectionProfile?.ts,
565+
...Object.values(state?.nordicNrplus?.neighbors ?? {}).map((n) => n.ts),
566+
...Object.values(state?.nordicNrplus?.buttonPresses ?? {}).map(
567+
(bp) => bp.ts,
568+
),
564569
])
565570
}
566571

0 commit comments

Comments
 (0)