redirect to /integrations after form is created.

This commit is contained in:
fiatjaf 2018-09-05 23:43:33 +00:00
parent a26bba8caa
commit 6543c309dc
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ module.exports = class CreateForm extends React.Component {
}
toastr.success('Form created!')
this.props.history.push(`/forms/${r.hashid}`)
this.props.history.push(`/forms/${r.hashid}/integrations`)
} catch (e) {
console.error(e)
toastr.error('Failed to create form, see the console for more details.')