Skip to content

Commit

Permalink
keep categories always alphabetically ordered (closes #29)
Browse files Browse the repository at this point in the history
  • Loading branch information
boogheta committed Apr 20, 2018
1 parent 1f010e8 commit 11aca66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/browser/sidebar/SideBarTags.js
Expand Up @@ -184,7 +184,7 @@ class SideBarTags extends React.Component {
</h3>

{ showCategories && <div>
{ categories.map(this.renderTagsCategory) }
{ categories.sort().map(this.renderTagsCategory) }

<form className="browser-side-bar-tags-new-category" onSubmit={ this.addCategory }>
<input placeholder={ formatMessage({ id: 'sidebar.add-tags-category' }) }
Expand Down

0 comments on commit 11aca66

Please sign in to comment.