Added stream disable to settings
This commit is contained in:
parent
ebb682976c
commit
0d55838b86
4 changed files with 42 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue