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 = {