From 38fec7425c7a90a565ccb1a71e2129ec862cec71 Mon Sep 17 00:00:00 2001 From: Luca Date: Wed, 10 Apr 2024 16:02:01 +0200 Subject: [PATCH] Change how own latency is received --- src/views/dashboard/shockers/own/Device.vue | 2 +- src/views/dashboard/shockers/shared/SharedDevice.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/dashboard/shockers/own/Device.vue b/src/views/dashboard/shockers/own/Device.vue index 1116293..eb832f9 100644 --- a/src/views/dashboard/shockers/own/Device.vue +++ b/src/views/dashboard/shockers/own/Device.vue @@ -131,7 +131,7 @@ export default { break; case "LatencyAnnounce": - this.live.latency = json.Data[this.$store.state.user.id]; + this.live.latency = json.Data.ownLatency; break; } }; diff --git a/src/views/dashboard/shockers/shared/SharedDevice.vue b/src/views/dashboard/shockers/shared/SharedDevice.vue index 4e23a64..ca755c5 100644 --- a/src/views/dashboard/shockers/shared/SharedDevice.vue +++ b/src/views/dashboard/shockers/shared/SharedDevice.vue @@ -132,7 +132,7 @@ export default { break; case "LatencyAnnounce": - this.live.latency = json.Data[this.$store.state.user.id]; + this.live.latency = json.Data.OwnLatency; break; } };