Skip to content

Commit

Permalink
Update photon-client/src/components/cameras/CameraCalibrationCard.vue
Browse files Browse the repository at this point in the history
Co-authored-by: Sriman Achanta <[email protected]>
  • Loading branch information
mcm001 and srimanachanta authored Oct 9, 2023
1 parent 60a9bd3 commit 31e4b91
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,7 @@ const openCalibUploadPrompt = () => {
importCalibrationFromCalibDB.value.click();
};
const readImportedCalibration = (payload: Event) => {
if (payload.target == null) return;
if (!("files" in payload.target)) {
return;
if (payload.target == null || !payload.target?.files) return;
}
const files: FileList = payload.target?.files as FileList;
Expand Down

0 comments on commit 31e4b91

Please sign in to comment.