diff --git a/frontend/web/components/IntegrationList.js b/frontend/web/components/IntegrationList.js index a5d84d6b1b8d..c236a1a087d9 100644 --- a/frontend/web/components/IntegrationList.js +++ b/frontend/web/components/IntegrationList.js @@ -290,7 +290,6 @@ class IntegrationList extends Component { } }), ).then((res) => { - console.log(res) this.setState({ activeIntegrations: _.map(res, (item) => !!item && item.length ? item : [], @@ -375,7 +374,7 @@ class IntegrationList extends Component { } githubMeta={{ githubId: githubId, installationId: installationId }} projectId={this.props.projectId} - onComplete={githubId ? this.fetch : this.fetchGithubIntegration} + onComplete={githubId ? this.fetchGithubIntegration : this.fetch } />, 'side-modal', ) diff --git a/frontend/web/components/modals/CreateEditIntegrationModal.js b/frontend/web/components/modals/CreateEditIntegrationModal.js index 008c320bb544..9872dd64b033 100644 --- a/frontend/web/components/modals/CreateEditIntegrationModal.js +++ b/frontend/web/components/modals/CreateEditIntegrationModal.js @@ -69,7 +69,7 @@ const CreateEditIntegration = class extends Component { const isEdit = this.props.data && this.props.data.id Utils.preventDefault(e) if (this.props.integration.isExternalInstallation) { - closeModal() + this.onComplete() } if (this.state.isLoading) { return