Skip to content

Commit

Permalink
Update StateStore.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
srimanachanta committed Jul 6, 2023
1 parent c76c28f commit ca85af1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions photon-client/src/stores/StateStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit ca85af1

Please sign in to comment.