sorting tag names
This commit is contained in:
1 parent
938040e519
commit
90d3fa0587
1 file changed
+1
-1
@@ -15,7 +15,7 @@ export const makeTagDB = (automations: AutomationData[]) => {
|
||||
const allTagNames = Object.keys(allTags);
|
||||
return {
|
||||
getTagNames(myTags: string[]): string[] {
|
||||
return allTagNames.filter(n => !myTags.includes(n))
|
||||
return allTagNames.filter(n => !myTags.includes(n)).sort()
|
||||
},
|
||||
getTagValues(tagName: string): string[] {
|
||||
return allTags[tagName] ? Array.from(allTags[tagName].values()).sort() : [];
|
||||
|
||||
Reference in new issue
Block a user