diff --git a/x-pack/plugins/apm/public/components/alerting/fields.tsx b/x-pack/plugins/apm/public/components/alerting/fields.tsx index 8480fd276cb74..e482635152365 100644 --- a/x-pack/plugins/apm/public/components/alerting/fields.tsx +++ b/x-pack/plugins/apm/public/components/alerting/fields.tsx @@ -42,10 +42,13 @@ export function EnvironmentField({ const title = i18n.translate('xpack.apm.alerting.fields.environment', { defaultMessage: 'Environment', }); - - // "1" means "All" is the only option and we should not show a select. if (options.length === 1) { - return ; + return ( + + ); } return (