Skip to content

Commit

Permalink
feat: sort note cell tags alphabetically (#848)
Browse files Browse the repository at this point in the history
  • Loading branch information
amanharwara committed Feb 4, 2022
1 parent 3fb2732 commit cc21691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/components/NotesList.tsx
Expand Up @@ -45,7 +45,7 @@ export const NotesList: FunctionComponent<Props> = observer(
if (!selectedTag.isSmartTag && tags.length === 1) {
return [];
}
return tags.map((tag) => tag.title);
return tags.map((tag) => tag.title).sort();
};

const openNoteContextMenu = (posX: number, posY: number) => {
Expand Down

0 comments on commit cc21691

Please sign in to comment.