diff --git a/New client/chameleon-client/src/views/SettingsViewes/Cameras.vue b/New client/chameleon-client/src/views/SettingsViewes/Cameras.vue index dac4280f5..728ea1466 100644 --- a/New client/chameleon-client/src/views/SettingsViewes/Cameras.vue +++ b/New client/chameleon-client/src/views/SettingsViewes/Cameras.vue @@ -22,6 +22,11 @@ import CVnumberinput from '../../components/cv-number-input' } }, + methods:{ + sendCameraSettings(){ + this.handleInput('cameraSettings',this.cameraSettings); + } + }, computed:{ currentCameraIndex:{ get(){ diff --git a/New client/chameleon-client/src/views/SettingsViewes/General.vue b/New client/chameleon-client/src/views/SettingsViewes/General.vue index 737cb8a0c..09b5f919d 100644 --- a/New client/chameleon-client/src/views/SettingsViewes/General.vue +++ b/New client/chameleon-client/src/views/SettingsViewes/General.vue @@ -8,7 +8,7 @@ - Save General Settings + Save General Settings @@ -27,6 +27,11 @@ import CVinput from '../../components/cv-input' return { } }, + methods:{ + sendGeneralSettings(){ + this.handleInput('generalSettings',this.settings); + } + }, computed:{ isDisabled(){ if(this.settings.connectionType === 0){ @@ -37,12 +42,8 @@ import CVinput from '../../components/cv-input' settings:{ get(){ return this.$store.state.settings; - }, - set(value){ - this.$store.commit('settings',value); } } - } }