Skip to content

Commit

Permalink
Fix unstable UI sorting with old data
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Baecher committed Feb 27, 2018
1 parent 6c3f2c8 commit 24a9f8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Bugfixes and minor changes

* Slack notifier is now less spammy.
* Fix unstable UI sort edge case with old data.


## 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion dashboard/components/FeatureList.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import './FeatureList.css'
const sort = (features) => features.sort((a, b) => {
if (a.created_at < b.created_at) return 1
if (a.created_at > b.created_at) return -1
return 0
return b.name < a.name ? -1 : b.name > a.name
})

const parseStatus = (environments, status) =>
Expand Down

0 comments on commit 24a9f8d

Please sign in to comment.