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