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);