Added stream disable to settings

This commit is contained in:
Joel Collins 2019-02-15 11:33:12 +00:00
parent ebb682976c
commit 0d55838b86
4 changed files with 42 additions and 8 deletions

View file

@ -16,7 +16,11 @@ export default new Vuex.Store({
error: '',
apiConfig: {},
apiState: {},
moveLock: false
moveLock: false,
settings: {
disableStream: false,
autoGpuPreview: false
}
},
mutations: {
@ -42,6 +46,9 @@ export default new Vuex.Store({
},
commitState(state, stateData) {
state.apiState = stateData;
},
changeSetting(state, [key, value]) {
state.settings[key] = value;
}
},