From ca85af1a0d6da4ae69d226d0f565690548ebc997 Mon Sep 17 00:00:00 2001 From: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com> Date: Thu, 6 Jul 2023 03:38:33 -0400 Subject: [PATCH] Update StateStore.ts --- photon-client/src/stores/StateStore.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/photon-client/src/stores/StateStore.ts b/photon-client/src/stores/StateStore.ts index 7285e37fe5..f9fd7dfbae 100644 --- a/photon-client/src/stores/StateStore.ts +++ b/photon-client/src/stores/StateStore.ts @@ -90,11 +90,7 @@ export const useStateStore = defineStore("state", { }; }, updatePipelineResultsFromWebsocket(data: WebsocketPipelineResultUpdate) { - if(this.currentCameraIndex === undefined) return; - - const pipelineResultData = data[this.currentCameraIndex]; - - this.pipelineResults = pipelineResultData; + this.pipelineResults = data[this.currentCameraIndex]; }, updateCalibrationStateValuesFromWebsocket(data: WebsocketCalibrationData) { this.calibrationData = {