Skip to content

Commit

Permalink
provide default for uiSettings lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed Jun 16, 2021
1 parent af50788 commit 452baf6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class IndexPatternManagementService {
const indexPatternListConfigSetup = this.indexPatternListConfig.setup();
indexPatternListConfigSetup.addListConfig(IndexPatternListConfig);

if (uiSettings.get(CONFIG_ROLLUPS)) {
if (uiSettings.get(CONFIG_ROLLUPS, false)) {
creationManagerSetup.addCreationConfig(RollupIndexPatternCreationConfig);
indexPatternListConfigSetup.addListConfig(RollupIndexPatternListConfig);
}
Expand Down

0 comments on commit 452baf6

Please sign in to comment.