Skip to content

Commit

Permalink
PackageList: sort packages by modifiedDate
Browse files Browse the repository at this point in the history
  • Loading branch information
dmstern committed Oct 16, 2018
1 parent aa0e8ad commit 6b03111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PackageList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
:text="config.artifactory.host">
</ExternalLink>
</v-subheader>
<template v-for="(item, index) in packages.data">
<template v-for="(item, index) in packages.data.sort((a, b) => a.time.modified < b.time.modified ? 1 : -1)">
<v-list-tile
:key='item.name'
avatar
Expand Down

0 comments on commit 6b03111

Please sign in to comment.