Sort labels alphabetically on tasks
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
fe4a8c17c8
commit
83b530b8ba
|
@ -46,6 +46,7 @@ export default class TaskModel extends AbstractModel {
|
||||||
this.labels = this.labels.map(l => {
|
this.labels = this.labels.map(l => {
|
||||||
return new LabelModel(l)
|
return new LabelModel(l)
|
||||||
})
|
})
|
||||||
|
.sort((f, s) => f.title > s.title)
|
||||||
|
|
||||||
if (this.hexColor !== '' && this.hexColor.substring(0, 1) !== '#') {
|
if (this.hexColor !== '' && this.hexColor.substring(0, 1) !== '#') {
|
||||||
this.hexColor = '#' + this.hexColor
|
this.hexColor = '#' + this.hexColor
|
||||||
|
|
Reference in New Issue