File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,13 @@ export default class Auths extends React.Component {
4141 authActions . logout ( auths )
4242 }
4343
44+ close = ( e ) => {
45+ e . preventDefault ( )
46+ let { authActions } = this . props
47+
48+ authActions . showDefinitions ( false )
49+ }
50+
4451 render ( ) {
4552 let { definitions, getComponent, authSelectors, errSelectors } = this . props
4653 const AuthItem = getComponent ( "AuthItem" )
@@ -74,6 +81,7 @@ export default class Auths extends React.Component {
7481 } ) . toArray ( )
7582 }
7683 < div className = "auth-btn-wrapper" >
84+ < Button className = "btn modal-btn auth" onClick = { this . close } > Done</ Button >
7785 {
7886 nonOauthDefinitions . size === authorizedAuth . size ? < Button className = "btn modal-btn auth" onClick = { this . logoutClick } > Logout</ Button >
7987 : < Button type = "submit" className = "btn modal-btn auth authorize" > Authorize</ Button >
You can’t perform that action at this time.
0 commit comments