mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-11-29 05:28:53 +03:00
fix ordering reset #133
This commit is contained in:
parent
16aa946d98
commit
e58e93d87e
1 changed files with 2 additions and 6 deletions
|
@ -93,19 +93,15 @@ export default {
|
|||
state.settings = data
|
||||
},
|
||||
UPDATE_SORT_OPTIONS: (state, {
|
||||
reverse = false,
|
||||
hashes = [],
|
||||
filter = null,
|
||||
category = null,
|
||||
tracker = null,
|
||||
sort = null
|
||||
tracker = null
|
||||
}) => {
|
||||
state.sort_options.reverse = reverse
|
||||
state.sort_options.hashes = hashes
|
||||
state.sort_options.filter = filter
|
||||
state.sort_options.category = category
|
||||
state.sort_options.tracker = tracker
|
||||
state.sort_options.sort = sort
|
||||
},
|
||||
FETCH_CATEGORIES: async state => state.categories = Object.values(await (qbit.getCategories())),
|
||||
FETCH_SEARCH_PLUGINS: async state => state.searchPlugins = await qbit.getSearchPlugins(),
|
||||
|
|
Loading…
Reference in a new issue