From 938040e519e88eb707a4636526b76c935efb835a Mon Sep 17 00:00:00 2001 From: Ari Date: Fri, 27 May 2022 13:01:27 -0400 Subject: [PATCH] sorting tag values --- webapp/src/components/AutomationList/TagDB.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/components/AutomationList/TagDB.ts b/webapp/src/components/AutomationList/TagDB.ts index 759baf4..64addda 100644 --- a/webapp/src/components/AutomationList/TagDB.ts +++ b/webapp/src/components/AutomationList/TagDB.ts @@ -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() : []; } } } \ No newline at end of file