Skip to content

Commit

Permalink
Fix tag cloud vis
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasolson committed Oct 14, 2019
1 parent 54f0a98 commit 60122b4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down

0 comments on commit 60122b4

Please sign in to comment.