Merge pull request #1818 from influxdata/feat/selection-step-type-next

Feat/selection step type next
pull/10616/head
Palakp41 2018-12-10 16:16:15 -08:00 committed by GitHub
commit 97687ad37f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -156,8 +156,12 @@ class SelectDataSourceStep extends PureComponent<Props, State> {
this.props.onDecrementCurrentStepIndex() this.props.onDecrementCurrentStepIndex()
} }
private handleSelectTelegrafPlugin = (telegrafPlugin: DataLoaderType) => { private handleSelectTelegrafPlugin = async (
this.props.onSetDataLoadersType(telegrafPlugin) telegrafPlugin: DataLoaderType
) => {
await this.props.onSetDataLoadersType(telegrafPlugin)
this.handleClickNext()
return return
} }