From bc462c230613d20ebe3d5e2d93404438c4e0c327 Mon Sep 17 00:00:00 2001 From: Walter Rafelsberger Date: Fri, 28 Sep 2018 14:07:11 +0200 Subject: [PATCH] [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. --- .../explorer/explorer_charts/explorer_charts_container.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/explorer_charts_container.js b/x-pack/plugins/ml/public/explorer/explorer_charts/explorer_charts_container.js index 9a3e61d03f3f7..3b305b54343a4 100644 --- a/x-pack/plugins/ml/public/explorer/explorer_charts/explorer_charts_container.js +++ b/x-pack/plugins/ml/public/explorer/explorer_charts/explorer_charts_container.js @@ -68,7 +68,7 @@ export function ExplorerChartsContainer({ iconSide="right" iconType="popout" size="xs" - onClick={() => getExploreSeriesLink(series)} + onClick={() => window.open(getExploreSeriesLink(series), '_blank')} > View