mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
remove recovered services and drop reordering feature (#1829)
This commit is contained in:
committed by
Aiden McClelland
parent
35b220d7a5
commit
2ddd38796d
@@ -88,7 +88,10 @@ export class FilterPackagesPipe implements PipeTransform {
|
||||
return packages
|
||||
.filter(p => category === 'all' || p.categories.includes(category))
|
||||
.sort((a, b) => {
|
||||
return a['published-at'] > b['published-at'] ? -1 : 1
|
||||
return (
|
||||
new Date(b['published-at']).valueOf() -
|
||||
new Date(a['published-at']).valueOf()
|
||||
)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user