Skip to content

Commit

Permalink
Fixed types
Browse files Browse the repository at this point in the history
  • Loading branch information
VladLasitsa committed Apr 15, 2020
1 parent 3d813f5 commit 48885bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ export class CreateIndexPatternWizard extends Component<
}
}

if (!services.config.get('defaultIndex')) {
await services.config.set('defaultIndex', createdId);
if (!services.uiSettings.get('defaultIndex')) {
await services.uiSettings.set('defaultIndex', createdId);
}

services.indexPatterns.clearCache(createdId);
Expand Down

0 comments on commit 48885bc

Please sign in to comment.