From 08e794bc6b7ac4fc9a73a94c4467802e101fe59d Mon Sep 17 00:00:00 2001 From: chiragsalian Date: Wed, 14 Aug 2024 11:28:16 -0700 Subject: [PATCH] Clean tag name --- src/libs/PolicyUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/PolicyUtils.ts b/src/libs/PolicyUtils.ts index 37016b8821fc..3f3a2a96a1e1 100644 --- a/src/libs/PolicyUtils.ts +++ b/src/libs/PolicyUtils.ts @@ -301,7 +301,7 @@ function getTagNamesFromTagsLists(policyTagLists: PolicyTagLists): string[] { for (const policyTagList of Object.values(policyTagLists ?? {})) { for (const tag of Object.values(policyTagList.tags)) { - uniqueTagNames.add(tag.name); + uniqueTagNames.add(getCleanedTagName(tag.name)); } } return Array.from(uniqueTagNames);