Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.16] [ML] Adding edit job detector descriptions title (#115765) #115913

Merged
merged 1 commit into from
Oct 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

import PropTypes from 'prop-types';
import React, { Component } from 'react';
import { FormattedMessage } from '@kbn/i18n/react';

import { EuiFieldText, EuiForm, EuiFormRow, EuiSpacer } from '@elastic/eui';
import { EuiFieldText, EuiForm, EuiFormRow, EuiSpacer, EuiTitle } from '@elastic/eui';

import { mlJobService } from '../../../../../services/job_service';
import { detectorToString } from '../../../../../util/string_utils';
Expand Down Expand Up @@ -43,7 +44,16 @@ export class Detectors extends Component {
render() {
const { detectors, detectorDescriptions } = this.state;
return (
<React.Fragment>
<>
<EuiSpacer size="m" />
<EuiTitle size="xs">
<h4>
<FormattedMessage
id="xpack.ml.jobsList.editJobFlyout.detectors.title"
defaultMessage="Edit detector descriptions"
/>
</h4>
</EuiTitle>
<EuiSpacer size="m" />
<EuiForm>
{detectorDescriptions.map((d, i) => (
Expand All @@ -52,7 +62,7 @@ export class Detectors extends Component {
</EuiFormRow>
))}
</EuiForm>
</React.Fragment>
</>
);
}
}
Expand Down