itizawa 6 лет назад
Родитель
Сommit
ff411a18c1
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      src/client/js/components/Admin/Users/InviteUserControl.jsx

+ 5 - 1
src/client/js/components/Admin/Users/InviteUserControl.jsx

@@ -7,12 +7,16 @@ import AppContainer from '../../../services/AppContainer';
 
 class InviteUserControl extends React.Component {
 
+  onUserInviteClicked() {
+    console.log('hello');
+  }
+
   render() {
     const { t } = this.props;
 
     return (
       <Fragment>
-        <button type="button" data-toggle="collapse" className="btn btn-default">
+        <button type="button" className="btn btn-default" onClick={this.onUserInviteClicked}>
           { t('user_management.invite_users') }
         </button>
       </Fragment>