Skip to content
Snippets Groups Projects
Unverified Commit bd606e7f authored by Ariya Hidayat's avatar Ariya Hidayat Committed by GitHub
Browse files

Data selector: avoid toggling popover when it's not ready (#16987)

parent 6db73b0c
Branches
Tags
No related merge requests found
......@@ -461,7 +461,7 @@ export class UnconnectedDataSelector extends Component {
const nextStep = this.getNextStep();
if (!nextStep) {
await this.setStateWithComputedState(stateChange);
this.popover.current.toggle();
this.popover.current && this.popover.current.toggle();
} else {
await this.switchToStep(nextStep, stateChange, skipSteps);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment