From ae79882fd9edffbac548de770a01a10002092b86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix-Antoine=20Fortin?= Date: Mon, 17 Jun 2024 10:24:44 -0400 Subject: [PATCH] Revert "Avoid type that do not match regex in TypeSelect" This reverts commit cda82fc830710f14824507de4841955389a08e72. --- frontend/src/components/cluster/TypeSelect.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/components/cluster/TypeSelect.vue b/frontend/src/components/cluster/TypeSelect.vue index 132c677d..715d9108 100644 --- a/frontend/src/components/cluster/TypeSelect.vue +++ b/frontend/src/components/cluster/TypeSelect.vue @@ -58,9 +58,7 @@ export default { items() { let items = []; TYPE_CATEGORIES.forEach(({ prefix, name }) => { - const types = this.types.filter((type) => { - type.startsWith(prefix) && type.match(TYPE_REGEX) != null; - }); + const types = this.types.filter((type) => type.startsWith(prefix)); if (types.length > 0) { if (items.length > 0) { items.push({ divider: true });