mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[6.x] [ML] Fix opening Data Visualizer for recognized index (#18639)
This commit is contained in:
parent
6b8ce02a96
commit
0c2f46a1ef
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export const RecognizedResult = ({
|
|||
indexPattern,
|
||||
savedSearch
|
||||
}) => {
|
||||
const id = (savedSearch.id === undefined) ?
|
||||
const id = (savedSearch === undefined || savedSearch.id === undefined) ?
|
||||
`index=${indexPattern.id}` :
|
||||
`savedSearchId=${savedSearch.id}`;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue