From 11513de3c9a99c6758449c9e9e2cc6fe06bf49ea Mon Sep 17 00:00:00 2001 From: Marco Salazar Date: Thu, 6 Mar 2025 16:15:53 -0500 Subject: [PATCH] kill exact match --- .../src/selection/SelectionAutoCompleteProvider.tsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/js_modules/dagster-ui/packages/ui-core/src/selection/SelectionAutoCompleteProvider.tsx b/js_modules/dagster-ui/packages/ui-core/src/selection/SelectionAutoCompleteProvider.tsx index d23b72108027e..d293be9e29ada 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/selection/SelectionAutoCompleteProvider.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/selection/SelectionAutoCompleteProvider.tsx @@ -237,15 +237,8 @@ export const createProvider = < }) { const displayText = `${attribute as string}:`; const icon: IconName = attributeToIcon[attribute]; - let label; - switch (attribute) { - case primaryAttributeKey as string: - label = 'Exact match'; - break; - default: - label = (attribute as string).replace(/_/g, ' '); - label = label[0]!.toUpperCase() + label.slice(1); - } + let label = (attribute as string).replace(/_/g, ' '); + label = label[0]!.toUpperCase() + label.slice(1); return { text, jsx: (