Skip to content

Commit

Permalink
Merge 2.x
Browse files Browse the repository at this point in the history
Signed-off-by: Simeon Widdis <[email protected]>
  • Loading branch information
Swiddis committed Sep 10, 2024
2 parents d99bc1d + 6dc0fbb commit b8a84af
Showing 1 changed file with 16 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,9 @@
import React, { useEffect, useState } from 'react';
import { i18n } from '@osd/i18n';
import {
EuiFieldText,
EuiFieldNumber,
EuiFlexGroup,
EuiFlexItem,
EuiPageHeader,
EuiTitle,
EuiPageContent,
EuiPageContentBody,
EuiHorizontalRule,
EuiSpacer,
EuiRadioGroup,
EuiTextArea,
EuiCheckboxGroup,
EuiComboBox,
EuiFormRow,
Expand Down Expand Up @@ -799,6 +790,7 @@ export function ReportSettings(props: ReportSettingProps) {
/>
</EuiFormRow>
<EuiSpacer />
<<<<<<< HEAD
{savedSearchRecordLimit > 10000 ? (
<>
<EuiCallOut
Expand All @@ -813,12 +805,27 @@ export function ReportSettings(props: ReportSettingProps) {
<EuiSpacer size="xs" />
</>
) : null}
=======
>>>>>>> origin/2.x
<EuiFormRow
id="reportSourceSavedSearchRecordLimit"
label={i18n.translate(
'opensearch.reports.reportSettingProps.form.savedSearchRecordLimit',
{ defaultMessage: 'Record limit' }
)}
<<<<<<< HEAD
=======
helpText={
savedSearchRecordLimit > 10000 ? (
<EuiText color="warning" size="xs">
<EuiIcon color="warning" type="alert" size="s" /> Generating
very large reports can cause memory issues.
</EuiText>
) : (
''
)
}
>>>>>>> origin/2.x
>
<EuiFieldNumber
value={savedSearchRecordLimit}
Expand Down

0 comments on commit b8a84af

Please sign in to comment.