If a migration can't be created don't redirect to user, instead re-enable the Finish / Next button, while displaying the error message.
@@ -397,6 +397,8 @@ class WizardPage extends React.Component<Props, State> {
return
}
this.handleCreationSuccess([item])
+ }).catch(() => {
+ this.setState({ nextButtonDisabled: false })
})
@@ -125,6 +125,7 @@ class WizardStore {
this.creatingItem = false
}).catch(() => {
+ return Promise.reject()