From 60122b47d95f4ffd121864168698e42cf07f2b21 Mon Sep 17 00:00:00 2001 From: Lukas Olson Date: Mon, 14 Oct 2019 12:28:26 -0700 Subject: [PATCH] Fix tag cloud vis --- .../core_plugins/interpreter/public/renderers/visualization.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/legacy/core_plugins/interpreter/public/renderers/visualization.ts b/src/legacy/core_plugins/interpreter/public/renderers/visualization.ts index a4cd95cd3bd57..8dcd2992cd7ca 100644 --- a/src/legacy/core_plugins/interpreter/public/renderers/visualization.ts +++ b/src/legacy/core_plugins/interpreter/public/renderers/visualization.ts @@ -49,12 +49,13 @@ export const visualization = () => ({ handlers.vis.eventsSubject = handlers.eventsSubject; } + const visParams = { ...handlers.vis.params, ...visConfig }; const uiState = handlers.uiState || handlers.vis.getUiState(); handlers.onDestroy(() => visualizationLoader.destroy()); await visualizationLoader - .render(domNode, handlers.vis, visData, handlers.vis.params, uiState, params) + .render(domNode, handlers.vis, visData, visParams, uiState, params) .then(() => { if (handlers.done) handlers.done(); });