mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-24 02:51:20 -08:00
better checks for tracker id on tracker error (#901)
This commit is contained in:
1 parent
8fa535d8b8
commit
032ef02553
1 file changed
+2
-3
@@ -138,9 +138,8 @@ export function parseStatusToLocale(
|
||||
|
||||
const tracker = trackers.find(
|
||||
({ tracker }) =>
|
||||
data.trackerId?.trackerNum &&
|
||||
tracker?.trackerId?.trackerNum == data.trackerId.trackerNum &&
|
||||
tracker?.trackerId?.deviceId?.id == data.trackerId.deviceId?.id
|
||||
tracker?.trackerId?.trackerNum == data.trackerId?.trackerNum &&
|
||||
tracker?.trackerId?.deviceId?.id == data.trackerId?.deviceId?.id
|
||||
);
|
||||
if (!tracker)
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user