Update ObjectTypeSelect component to adjust label positioning for improved display

- Modified the label rendering in ObjectTypeSelect to include a style adjustment, positioning the ObjectTypeDisplay component slightly higher for better visual alignment.
This commit is contained in:
Tom Butcher 2025-12-07 02:42:26 +00:00
parent f7532338b6
commit aad5326c7e

View File

@ -24,7 +24,9 @@ const ObjectTypeSelect = ({
})
.map((model) => ({
value: model.name,
label: <ObjectTypeDisplay objectType={model.name} />,
label: (
<ObjectTypeDisplay objectType={model.name} style={{ top: '-0.5px' }} />
),
searchText: model.label?.toLowerCase() || ''
}))