Skip to content

Commit

Permalink
Make custom fields GA
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas committed Jul 9, 2024
1 parent 717ab7a commit 61386d8
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions x-pack/plugins/cases/public/components/custom_fields/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import { useCasesContext } from '../cases_context/use_cases_context';
import type { CustomFieldsConfiguration } from '../../../common/types/domain';
import { MAX_CUSTOM_FIELDS_PER_CASE } from '../../../common/constants';
import { CustomFieldsList } from './custom_fields_list';
import { ExperimentalBadge } from '../experimental_badge/experimental_badge';

export interface Props {
customFields: CustomFieldsConfiguration;
Expand Down Expand Up @@ -68,14 +67,7 @@ const CustomFieldsComponent: React.FC<Props> = ({
return canAddCustomFields ? (
<EuiDescribedFormGroup
fullWidth
title={
<EuiFlexGroup alignItems="center" gutterSize="none">
<EuiFlexItem grow={false}>{i18n.TITLE}</EuiFlexItem>
<EuiFlexItem grow={false}>
<ExperimentalBadge />
</EuiFlexItem>
</EuiFlexGroup>
}
title={<h3>{i18n.TITLE}</h3>}
description={<p>{i18n.DESCRIPTION}</p>}
data-test-subj="custom-fields-form-group"
>
Expand Down

0 comments on commit 61386d8

Please sign in to comment.