mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
lowercase service for alphabetic sorting (#2008)
This commit is contained in:
@@ -19,7 +19,11 @@ export class AppListPage {
|
||||
return !length || prev.length !== length
|
||||
}),
|
||||
map(([_, pkgs]) =>
|
||||
pkgs.sort((a, b) => (b.manifest.title > a.manifest.title ? -1 : 1)),
|
||||
pkgs.sort((a, b) =>
|
||||
b.manifest.title.toLowerCase() > a.manifest.title.toLowerCase()
|
||||
? -1
|
||||
: 1,
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user