diff --git a/src/core/components/auth/auths.jsx b/src/core/components/auth/auths.jsx index ce159ab3..02e00c33 100644 --- a/src/core/components/auth/auths.jsx +++ b/src/core/components/auth/auths.jsx @@ -81,7 +81,7 @@ export default class Auths extends React.Component { }).toArray() }
- + { nonOauthDefinitions.size === authorizedAuth.size ? : diff --git a/src/core/components/auth/oauth2.jsx b/src/core/components/auth/oauth2.jsx index fa980bac..86e6257b 100644 --- a/src/core/components/auth/oauth2.jsx +++ b/src/core/components/auth/oauth2.jsx @@ -39,6 +39,13 @@ export default class Oauth2 extends React.Component { } } + close = (e) => { + e.preventDefault() + let { authActions } = this.props + + authActions.showDefinitions(false) + } + authorize =() => { let { authActions, errActions, getConfigs, authSelectors } = this.props let configs = getConfigs() @@ -231,6 +238,7 @@ export default class Oauth2 extends React.Component { : ) } +