Skip to content

Commit

Permalink
Cleanup cache in ensureDefaultIndexPattern
Browse files Browse the repository at this point in the history
  • Loading branch information
kertal committed Apr 15, 2020
1 parent b6c9e2e commit 9aaf92f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export async function ensureDefaultIndexPattern(
data: DataPublicPluginStart,
history: History
) {
const patterns = await data.indexPatterns.getIds();
const patterns = await data.indexPatterns.getIds(true);
let defaultId = core.uiSettings.get('defaultIndex');
let defined = !!defaultId;
const exists = contains(patterns, defaultId);
Expand Down

0 comments on commit 9aaf92f

Please sign in to comment.