diff --git a/ui/src/onboarding/components/selectionStep/SelectDataSourceStep.tsx b/ui/src/onboarding/components/selectionStep/SelectDataSourceStep.tsx index cb97694fbfb..6ec98e8de2d 100644 --- a/ui/src/onboarding/components/selectionStep/SelectDataSourceStep.tsx +++ b/ui/src/onboarding/components/selectionStep/SelectDataSourceStep.tsx @@ -61,6 +61,12 @@ export class SelectDataSourceStep extends PureComponent { this.state = {showStreamingSources: false} } + public componentDidMount() { + if (this.isStreaming && this.props.type !== DataLoaderType.Streaming) { + this.props.onSetDataLoadersType(DataLoaderType.Streaming) + } + } + public render() { return (