Skip to content

Commit a0c382a

Browse files
committed
implement stakeholder feedback to show forcemerge in hot
1 parent 26c3a99 commit a0c382a

File tree

1 file changed

+2
-4
lines changed
  • x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase

1 file changed

+2
-4
lines changed

x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/hot_phase.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { useFormData, UseField, SelectField, NumericField } from '../../../../..
2424

2525
import { i18nTexts } from '../../../i18n_texts';
2626

27-
import { ROLLOVER_EMPTY_VALIDATION, useConfigurationIssues } from '../../../form';
27+
import { ROLLOVER_EMPTY_VALIDATION } from '../../../form';
2828

2929
import { useEditPolicyContext } from '../../../edit_policy_context';
3030

@@ -51,8 +51,6 @@ export const HotPhase: FunctionComponent = () => {
5151
const isRolloverEnabled = get(formData, useRolloverPath);
5252
const [showEmptyRolloverFieldsError, setShowEmptyRolloverFieldsError] = useState(false);
5353

54-
const { isUsingSearchableSnapshotInHotPhase } = useConfigurationIssues();
55-
5654
return (
5755
<>
5856
<EuiDescribedFormGroup
@@ -236,8 +234,8 @@ export const HotPhase: FunctionComponent = () => {
236234
</ToggleFieldWithDescribedFormRow>
237235
{isRolloverEnabled && (
238236
<>
237+
{<ForcemergeField phase="hot" />}
239238
{license.canUseSearchableSnapshot() && <SearchableSnapshotField phase="hot" />}
240-
{!isUsingSearchableSnapshotInHotPhase && <ForcemergeField phase="hot" />}
241239
</>
242240
)}
243241
<SetPriorityInputField phase={hotProperty} />

0 commit comments

Comments
 (0)