diff --git a/webapp/src/components/tabContentComponents/settingsComponents/CSMSettingsComponents/CSMCalibrationSettings.vue b/webapp/src/components/tabContentComponents/settingsComponents/CSMSettingsComponents/CSMCalibrationSettings.vue index 96fe0101..9762c661 100644 --- a/webapp/src/components/tabContentComponents/settingsComponents/CSMSettingsComponents/CSMCalibrationSettings.vue +++ b/webapp/src/components/tabContentComponents/settingsComponents/CSMSettingsComponents/CSMCalibrationSettings.vue @@ -20,23 +20,27 @@ v-show="showExtraSettings" type="button" class="uk-button uk-button-default uk-width-1-1" + :disabled="!csmMatrix" + :class="{ 'uk-disabled': !csmMatrix }" @click="getCalibrationData()" > Download Calibration Data -
+
Calibration Details - CSM calculated for images with a resolution of: -
- -
  • - Current CSM Matrix: + Current CSM Matrix:
  • +
  • + CSM calculated for images with a resolution of: +
    + +
  • +
  • Pixels per motor step: {{ csmRatio }}
  • Full field of view in motor steps: @@ -46,6 +50,7 @@
+

No Calibration Available

@@ -72,9 +77,10 @@ export default { data() { return { - csmMatrix: "undefined", - csmResolution: "undefined", - csmRatio: "undefined", + csmMatrix: undefined, + csmResolution: undefined, + csmRatio: undefined, + csmFOV: undefined, }; },