Skip to content

Commit

Permalink
updated outdated service name
Browse files Browse the repository at this point in the history
  • Loading branch information
Bargs committed Oct 30, 2019
1 parent 39ddcf8 commit 3db6b18
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -346,13 +346,13 @@ export class QueryBarInputUI extends Component<Props, State> {
'field' in suggestion &&
suggestion.field.subType &&
suggestion.field.subType.nested &&
!this.services.store.get('kibana.KQLNestedQuerySyntaxInfoOptOut')
!this.services.storage.get('kibana.KQLNestedQuerySyntaxInfoOptOut')
) {
const notifications = this.services.notifications;

const onKQLNestedQuerySyntaxInfoOptOut = (toast: Toast) => {
if (!this.services.store) return;
this.services.store.set('kibana.KQLNestedQuerySyntaxInfoOptOut', true);
if (!this.services.storage) return;
this.services.storage.set('kibana.KQLNestedQuerySyntaxInfoOptOut', true);
notifications!.toasts.remove(toast);
};

Expand Down

0 comments on commit 3db6b18

Please sign in to comment.