mirror of
https://github.com/CzBiX/qb-web.git
synced 2026-04-01 10:01:27 +08:00
Fix categories in add form
This commit is contained in:
@@ -143,7 +143,7 @@ export default Vue.extend({
|
||||
...mapState({
|
||||
prefs: 'preferences',
|
||||
categories(state, getters) {
|
||||
return Object.keys(getters.torrentGroupByCategory).filter(_.identity);
|
||||
return getters.allCategories.map(c => ({text: c.name, value: c.key}));
|
||||
},
|
||||
}),
|
||||
params() {
|
||||
|
||||
Reference in New Issue
Block a user