diff --git a/src/plugins/vis_builder/public/plugin.ts b/src/plugins/vis_builder/public/plugin.ts index 4e8f020d1fe8..bb9e0d8e6aa7 100644 --- a/src/plugins/vis_builder/public/plugin.ts +++ b/src/plugins/vis_builder/public/plugin.ts @@ -125,6 +125,8 @@ export class VisBuilderPlugin // make sure the index pattern list is up to date pluginsStart.data.indexPatterns.clearCache(); + // make sure the filterManager is refreshed + pluginsStart.data.query.filterManager.setFilters([]); // make sure a default index pattern exists // if not, the page will be redirected to management and visualize won't be rendered // TODO: Add the redirect