Merge pull request #3663 from nextcloud/backport/3560/stable23

[stable23] Sort boards non case sensitive
This commit is contained in:
Julius Härtl
2022-03-22 09:53:25 +01:00
committed by GitHub

View File

@@ -78,7 +78,7 @@ export default {
}, },
computed: { computed: {
boardsSorted() { boardsSorted() {
return [...this.boards].sort((a, b) => (a.title < b.title) ? -1 : 1) return [...this.boards].sort((a, b) => a.title.localeCompare(b.title))
}, },
collapsible() { collapsible() {
return this.boards.length > 0 return this.boards.length > 0