Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Make about:downloads ordered
Browse files Browse the repository at this point in the history
Auditors: @aekeus

Fix #4484
  • Loading branch information
bbondy committed Nov 1, 2016
1 parent 3874b48 commit 0e68ec0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/about/downloads.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class AboutDownloads extends React.Component {
ipc.on(messages.DOWNLOADS_UPDATED, (e, detail) => {
this.setState({
downloads: Immutable.fromJS(detail && detail.downloads || {})
.sort((x, y) => y.get('startTime') - x.get('startTime'))
})
})
}
Expand Down

1 comment on commit 0e68ec0

@aekeus
Copy link
Member

@aekeus aekeus commented on 0e68ec0 Nov 1, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++ looks good

Please sign in to comment.