Fix toggling streaming parameter in store
This commit is contained in:
parent
38bbf5b8a7
commit
d5c548193d
@ -33,7 +33,8 @@ const store = createStore({
|
|||||||
},
|
},
|
||||||
TOGGLE_FILTER_QUERY_STREAMING(state) {
|
TOGGLE_FILTER_QUERY_STREAMING(state) {
|
||||||
let query = state.filterQuery
|
let query = state.filterQuery
|
||||||
query['streaming'] = !(query['streaming'] ?? false)
|
query['streaming'] = (query['streaming'] === undefined) ? false : query['streaming']
|
||||||
|
query['streaming'] = !(query['streaming'])
|
||||||
state.filterQuery = query
|
state.filterQuery = query
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user