diff --git a/src/components/controlComponents/settingsComponents/cameraSettings.vue b/src/components/controlComponents/settingsComponents/cameraSettings.vue
index b8127113..abd26209 100644
--- a/src/components/controlComponents/settingsComponents/cameraSettings.vue
+++ b/src/components/controlComponents/settingsComponents/cameraSettings.vue
@@ -4,35 +4,37 @@
-
+
+
+
-
-
+
+
+
-
@@ -70,7 +72,9 @@ export default {
applyConfigRequest: function() {
console.log("Applying config to the microscope")
var payload = {
- picamera_settings: {}
+ camera_settings: {
+ picamera_settings: {}
+ }
}
//if (this.shutterSpeed != this.$store.state.apiConfig.picamera_settings.shutter_speed) {
@@ -86,7 +90,7 @@ export default {
return this.$store.dispatch('updateConfig');
})
.then(this.updateInputValues)
- .then(r=>{console.log("Updated Config: ", payload.picamera_settings)})
+ .then(r=>{console.log("Updated Config: ", payload)})
.catch(error => {
this.modalError(error) // Let mixin handle error
})
@@ -134,7 +138,7 @@ export default {
return Number(this.analogGain).toFixed(2)
},
displayShutterSpeed: function () {
- return (this.shutterSpeed != 0) ? this.shutterSpeed : "auto"
+ return (this.shutterSpeed != "0") ? this.shutterSpeed : "auto"
},
recalibrateApiUri: function () {
return this.$store.getters.uri + "/plugin/default/camera_calibration/recalibrate"