diff --git a/src/stores/index.js b/src/stores/index.js index 9cb374b..2602118 100644 --- a/src/stores/index.js +++ b/src/stores/index.js @@ -33,7 +33,8 @@ const store = createStore({ }, TOGGLE_FILTER_QUERY_STREAMING(state) { let query = state.filterQuery - query['streaming'] = !(query['streaming'] ?? false) + query['streaming'] = (query['streaming'] === undefined) ? false : query['streaming'] + query['streaming'] = !(query['streaming']) state.filterQuery = query }, },