Skip to content

Commit 5968394

Browse files
committed
fix wizard onError callback to not advance to next step
1 parent eedb74e commit 5968394

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • x-pack/plugins/maps/public/classes/layers/file_upload_wizard

x-pack/plugins/maps/public/classes/layers/file_upload_wizard/wizard.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ export class ClientFileCreateSourceEditor extends Component<RenderWizardArgument
142142
return;
143143
}
144144

145-
this.props.advanceToNextStep();
145+
this.props.stopStepLoading();
146+
this.props.disableNextBtn();
146147

147148
this.setState({ indexingStage: INDEXING_STAGE.ERROR });
148149
};

0 commit comments

Comments
 (0)