Skip to content

Commit

Permalink
bind plugin interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed Apr 8, 2020
1 parent 52b4292 commit 434f4c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ export class IndexPatternCreationManager {
}

setup = (httpClient: HttpSetup) => ({
addCreationConfig: this.addCreationConfig(httpClient),
addCreationConfig: this.addCreationConfig(httpClient).bind(this),
});

start = () => ({
getType: this.getType,
getIndexPatternCreationOptions: this.getIndexPatternCreationOptions,
getType: this.getType.bind(this),
getIndexPatternCreationOptions: this.getIndexPatternCreationOptions.bind(this),
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ export class IndexPatternListManager {
}

setup = () => ({
addListConfig: this.addListConfig,
addListConfig: this.addListConfig.bind(this),
});

start = () => ({
getIndexPatternTags: this.getIndexPatternTags,
getFieldInfo: this.getFieldInfo,
areScriptedFieldsEnabled: this.areScriptedFieldsEnabled,
getIndexPatternTags: this.getIndexPatternTags.bind(this),
getFieldInfo: this.getFieldInfo.bind(this),
areScriptedFieldsEnabled: this.areScriptedFieldsEnabled.bind(this),
});
}

0 comments on commit 434f4c1

Please sign in to comment.