diff --git a/frontend/src/components/cluster/TypeSelect.vue b/frontend/src/components/cluster/TypeSelect.vue index 62fed952..1a7c2182 100644 --- a/frontend/src/components/cluster/TypeSelect.vue +++ b/frontend/src/components/cluster/TypeSelect.vue @@ -58,7 +58,9 @@ export default { items() { let items = []; TYPE_CATEGORIES.forEach(({ prefix, name }) => { - const types = this.types.filter((type) => type.startsWith(prefix)); + const types = this.types.filter((type) => { + type.startsWith(prefix) && type.match(TYPE_REGEX) != null; + }); if (types.length > 0) { if (items.length > 0) { items.push({ divider: true });