Loading src/components/viewComponents/settingsComponents/cameraStageMappingSettings.vue +19 −19 Original line number Diff line number Diff line Loading @@ -78,10 +78,6 @@ export default { .then(response => { this.settings = response.data.extensions["org.openflexure.camera_stage_mapping"]; // Check if existing calibration data is available if ("get_calibration" in this.recalibrationLinks) { this.checkCalibrationData(); } }) .catch(error => { this.modalError(error); // Let mixin handle error Loading @@ -89,7 +85,8 @@ export default { }); }, checkCalibrationData: function() { updateCalibrationDataAvailability: function() { if ("get_calibration" in this.recalibrationLinks) { axios .get(this.recalibrationLinks.get_calibration.href) .then(response => { Loading @@ -104,6 +101,7 @@ export default { .catch(error => { this.modalError(error); // Let mixin handle error }); } }, getCalibrationData: function() { Loading Loading @@ -137,6 +135,8 @@ export default { if (foundExtension) { // Get plugin action link this.recalibrationLinks = foundExtension.links; // Update whether calibration data is available this.updateCalibrationDataAvailability(); } else { this.recalibrationLinks = {}; } Loading Loading
src/components/viewComponents/settingsComponents/cameraStageMappingSettings.vue +19 −19 Original line number Diff line number Diff line Loading @@ -78,10 +78,6 @@ export default { .then(response => { this.settings = response.data.extensions["org.openflexure.camera_stage_mapping"]; // Check if existing calibration data is available if ("get_calibration" in this.recalibrationLinks) { this.checkCalibrationData(); } }) .catch(error => { this.modalError(error); // Let mixin handle error Loading @@ -89,7 +85,8 @@ export default { }); }, checkCalibrationData: function() { updateCalibrationDataAvailability: function() { if ("get_calibration" in this.recalibrationLinks) { axios .get(this.recalibrationLinks.get_calibration.href) .then(response => { Loading @@ -104,6 +101,7 @@ export default { .catch(error => { this.modalError(error); // Let mixin handle error }); } }, getCalibrationData: function() { Loading Loading @@ -137,6 +135,8 @@ export default { if (foundExtension) { // Get plugin action link this.recalibrationLinks = foundExtension.links; // Update whether calibration data is available this.updateCalibrationDataAvailability(); } else { this.recalibrationLinks = {}; } Loading