From e5333cf03b2307e059afe8dd55cc9a6015fe3717 Mon Sep 17 00:00:00 2001 From: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com> Date: Sun, 31 Dec 2023 00:48:00 -0500 Subject: [PATCH] fix illiegal import --- .../src/components/cameras/CameraCalibrationInfoCard.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/photon-client/src/components/cameras/CameraCalibrationInfoCard.vue b/photon-client/src/components/cameras/CameraCalibrationInfoCard.vue index 00fda8fe18..ecd8bb791f 100644 --- a/photon-client/src/components/cameras/CameraCalibrationInfoCard.vue +++ b/photon-client/src/components/cameras/CameraCalibrationInfoCard.vue @@ -88,10 +88,9 @@ const importCalibration = async (payload: JSONFileUploadEvent) => { color: "error", message: `The resolution of the calibration export doesn't match the current resolution ${props.videoFormat.resolution.height}x${props.videoFormat.resolution.width}` }); + return; } - console.log(data); - useCameraSettingsStore() .importCalibrationFromData({ calibration: data }) .then((response) => {