From 03c9e3aea6c8821254a732b8c1f70602598e22ba Mon Sep 17 00:00:00 2001 From: Josh Maxwell Date: Sat, 22 Oct 2022 17:38:10 -0600 Subject: [PATCH] Removing forced capitalization for Entity types in the sidebar. Signed-off-by: Josh Maxwell --- .../src/components/EntityTypePicker/EntityTypePicker.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/catalog-react/src/components/EntityTypePicker/EntityTypePicker.tsx b/plugins/catalog-react/src/components/EntityTypePicker/EntityTypePicker.tsx index a0770ef30a..b90349949e 100644 --- a/plugins/catalog-react/src/components/EntityTypePicker/EntityTypePicker.tsx +++ b/plugins/catalog-react/src/components/EntityTypePicker/EntityTypePicker.tsx @@ -54,10 +54,10 @@ export const EntityTypePicker = (props: EntityTypePickerProps) => { if (availableTypes.length === 0 || error) return null; const items = [ - { value: 'all', label: 'All' }, + { value: 'all', label: 'all' }, ...availableTypes.map((type: string) => ({ value: type, - label: capitalize(type), + label: type, })), ];