fix: Use localCompare to sort labels
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -130,7 +130,7 @@ export default {
|
|||||||
return true
|
return true
|
||||||
},
|
},
|
||||||
labelsSorted() {
|
labelsSorted() {
|
||||||
return [...this.labels].sort((a, b) => (a.title < b.title) ? -1 : 1)
|
return [...this.labels].sort((a, b) => a.title.localeCompare(b.title))
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user