From 62d68edc177249edc67b4fe57250af28a574c17b Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 26 Jan 2022 20:15:12 +0100 Subject: [PATCH] fixes nextcloud/deck#3410 Signed-off-by: ben --- src/components/navigation/AppNavigationBoardCategory.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/navigation/AppNavigationBoardCategory.vue b/src/components/navigation/AppNavigationBoardCategory.vue index 62f291717..1914e8b17 100644 --- a/src/components/navigation/AppNavigationBoardCategory.vue +++ b/src/components/navigation/AppNavigationBoardCategory.vue @@ -78,7 +78,7 @@ export default { }, computed: { 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() { return this.boards.length > 0