diff --git a/src/legacy/core_plugins/kibana/public/visualize/np_ready/editor/editor.js b/src/legacy/core_plugins/kibana/public/visualize/np_ready/editor/editor.js index a85bdb5147766..4bfeea7c18971 100644 --- a/src/legacy/core_plugins/kibana/public/visualize/np_ready/editor/editor.js +++ b/src/legacy/core_plugins/kibana/public/visualize/np_ready/editor/editor.js @@ -474,9 +474,7 @@ function VisualizeAppController( vis.setState({ ...visState, data: { - aggs: aggs, - indexPattern: vis.data.indexPattern.id, - searchSource: vis.data.searchSource, + aggs, }, }); embeddableHandler.reload();