Skip to content

Commit ccce75a

Browse files
authored
Merge pull request #1616 from pfftdammitchris/master
Sort tags alphabetically
2 parents 638227e + 88ac6c6 commit ccce75a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

browser/main/SideNav/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ class SideNav extends React.Component {
117117

118118
tagListComponent () {
119119
const { data, location } = this.props
120-
const tagList = data.tagNoteMap.map((tag, name) => {
120+
const tagList = _.sortBy(data.tagNoteMap.map((tag, name) => {
121121
return { name, size: tag.size }
122-
})
122+
}), ['name'])
123123
return (
124124
tagList.map(tag => {
125125
return (

0 commit comments

Comments
 (0)