feat: sort note cell tags alphabetically (#848)

This commit is contained in:
Aman Harwara
2022-02-04 20:04:07 +05:30
committed by GitHub
parent 3fb27326fa
commit cc2169152e

View File

@@ -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) => {