[ML] Fix view link regression. (#23604)

Fixes a regression introduced in #23494. The view link was broken because it expects a callback with an action instead of just the link.
This commit is contained in:
Walter Rafelsberger 2018-09-28 14:07:11 +02:00 committed by GitHub
parent 7f1ee07405
commit 34abe9762b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ export function ExplorerChartsContainer({
iconSide="right"
iconType="popout"
size="xs"
onClick={() => getExploreSeriesLink(series)}
onClick={() => window.open(getExploreSeriesLink(series), '_blank')}
>
View
</EuiButtonEmpty>