From a7818d598399454648f1dea89f4db5e17afaa635 Mon Sep 17 00:00:00 2001 From: Minasokoni Date: Tue, 21 Nov 2017 14:10:22 -0500 Subject: [PATCH] Auth modal close button addded --- src/core/components/auth/auths.jsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/core/components/auth/auths.jsx b/src/core/components/auth/auths.jsx index 2110c6cc..f2de4ee2 100644 --- a/src/core/components/auth/auths.jsx +++ b/src/core/components/auth/auths.jsx @@ -41,6 +41,13 @@ export default class Auths extends React.Component { authActions.logout(auths) } + close =(e) => { + e.preventDefault() + let { authActions } = this.props + + authActions.showDefinitions(false) + } + render() { let { definitions, getComponent, authSelectors, errSelectors } = this.props const AuthItem = getComponent("AuthItem") @@ -74,6 +81,7 @@ export default class Auths extends React.Component { }).toArray() }
+ { nonOauthDefinitions.size === authorizedAuth.size ? :