Skip to content

Commit

Permalink
[ML] Fixing index data visualizer when index is recognized (#53498) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic authored Dec 19, 2019
1 parent d55c4c7 commit d983e7a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { SavedSearchSavedObject } from '../../../../common/types/kibana';

declare const DataRecognizer: FC<{
indexPattern: IndexPattern;
savedSearch?: SavedSearchSavedObject | null;
savedSearch: SavedSearchSavedObject | null;
results: {
count: number;
onChange?: Function;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ export const ActionsPanel: FC<Props> = ({ indexPattern }) => {
</EuiText>
<EuiSpacer size="m" />
<EuiFlexGroup gutterSize="l" responsive={true} wrap={true}>
<DataRecognizer indexPattern={indexPattern} results={recognizerResults} />
<DataRecognizer
indexPattern={indexPattern}
savedSearch={null}
results={recognizerResults}
/>
</EuiFlexGroup>
<EuiSpacer size="l" />
</div>
Expand Down

0 comments on commit d983e7a

Please sign in to comment.