Skip to content

Commit

Permalink
[ML] fix embeddable init
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed Jul 13, 2020
1 parent 3f83427 commit 5c39b47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ export const JobSelectorFlyout: FC<JobSelectorFlyoutProps> = ({
ref={flyoutEl}
onClose={onFlyoutClose}
aria-labelledby="jobSelectorFlyout"
size="l"
data-test-subj="mlFlyoutJobSelector"
>
<EuiFlyoutHeader hasBorder>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
EuiModalHeaderTitle,
EuiSelect,
EuiFieldText,
EuiModal,
} from '@elastic/eui';
import { FormattedMessage } from '@kbn/i18n/react';
import { i18n } from '@kbn/i18n';
Expand All @@ -33,7 +34,6 @@ export interface AnomalySwimlaneInitializerProps {
panelTitle: string;
swimlaneType: SwimlaneType;
viewBy?: string;
limit?: number;
}) => void;
onCancel: () => void;
}
Expand Down Expand Up @@ -81,7 +81,7 @@ export const AnomalySwimlaneInitializer: FC<AnomalySwimlaneInitializerProps> = (
(swimlaneType === SWIMLANE_TYPE.VIEW_BY && !!viewBySwimlaneFieldName));

return (
<div>
<EuiModal initialFocus="[name=panelTitle]">
<EuiModalHeader>
<EuiModalHeaderTitle>
<FormattedMessage
Expand Down Expand Up @@ -176,6 +176,6 @@ export const AnomalySwimlaneInitializer: FC<AnomalySwimlaneInitializerProps> = (
/>
</EuiButton>
</EuiModalFooter>
</div>
</EuiModal>
);
};

0 comments on commit 5c39b47

Please sign in to comment.