Show labels alphabetically sorted in the overview
This commit is contained in:
parent
cf25e96c50
commit
926d7938ab
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ export default {
|
||||||
},
|
},
|
||||||
computed: mapState({
|
computed: mapState({
|
||||||
userInfo: state => state.auth.info,
|
userInfo: state => state.auth.info,
|
||||||
labels: state => state.labels.labels,
|
labels: state => Object.values(state.labels.labels).sort((f, s) => f.title > s.title), // Alphabetically sort the labels
|
||||||
loading: state => state[LOADING] && state[LOADING_MODULE] === 'labels',
|
loading: state => state[LOADING] && state[LOADING_MODULE] === 'labels',
|
||||||
}),
|
}),
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in a new issue