Merge branch 'master' of github.com:Lissy93/dashy into FEATURE/basic-widget-support
This commit is contained in:
@@ -210,7 +210,7 @@ export default {
|
||||
},
|
||||
/* Sorts items alphabetically using the title attribute */
|
||||
sortAlphabetically(items) {
|
||||
return items.sort((a, b) => (a.title > b.title ? 1 : -1));
|
||||
return items.sort((a, b) => (a.title.toLowerCase() > b.title.toLowerCase() ? 1 : -1));
|
||||
},
|
||||
/* Sorts items by most used to least used, based on click-count */
|
||||
sortByMostUsed(items) {
|
||||
|
||||
Reference in New Issue
Block a user