Skip to content

Commit

Permalink
Merge pull request #1616 from pfftdammitchris/master
Browse files Browse the repository at this point in the history
Sort tags alphabetically
  • Loading branch information
Rokt33r authored Mar 9, 2018
2 parents 638227e + 88ac6c6 commit ccce75a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions browser/main/SideNav/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ class SideNav extends React.Component {

tagListComponent () {
const { data, location } = this.props
const tagList = data.tagNoteMap.map((tag, name) => {
const tagList = _.sortBy(data.tagNoteMap.map((tag, name) => {
return { name, size: tag.size }
})
}), ['name'])
return (
tagList.map(tag => {
return (
Expand Down

0 comments on commit ccce75a

Please sign in to comment.