Fixed: Sorting by name in Manage Applications and Download Client modals

This commit is contained in:
Bogdan 2024-01-22 14:10:24 +02:00
parent 255c6335ae
commit cb8797693e
2 changed files with 12 additions and 2 deletions

View file

@ -94,7 +94,12 @@ export default {
items: [],
pendingChanges: {},
sortKey: 'name',
sortDirection: sortDirections.DESCENDING
sortDirection: sortDirections.ASCENDING,
sortPredicates: {
name: function(item) {
return item.name.toLowerCase();
}
}
},
//

View file

@ -95,7 +95,12 @@ export default {
items: [],
pendingChanges: {},
sortKey: 'name',
sortDirection: sortDirections.DESCENDING
sortDirection: sortDirections.ASCENDING,
sortPredicates: {
name: function(item) {
return item.name.toLowerCase();
}
}
},
//