Fixing last couple of auth dialogs
This commit is contained in:
@@ -149,12 +149,12 @@ export class UserForm extends React.Component {
|
||||
<Row>
|
||||
<Row.Item>
|
||||
<BoundButton text='Change Email' name='changeEmail' binder={binder}
|
||||
width={sizeInfo.formButtonLarge} onClick={this.handleChangeEmail} />
|
||||
width={sizeInfo.buttonWideWidth} onClick={this.handleChangeEmail} />
|
||||
</Row.Item>
|
||||
<Row.Item grow />
|
||||
<Row.Item>
|
||||
<BoundButton text='Resend Confirmation Email' name='resendEmail' binder={binder}
|
||||
width={sizeInfo.formButtonLarge} onClick={this.handleResendEmail} />
|
||||
width={sizeInfo.buttonWideWidth} onClick={this.handleResendEmail} />
|
||||
</Row.Item>
|
||||
</Row>
|
||||
</Column.Item>
|
||||
|
||||
@@ -11,7 +11,7 @@ import { sizeInfo, colorInfo } from 'ui/style'
|
||||
|
||||
export class Users extends Component {
|
||||
static propTypes = {
|
||||
onChangeTitle: PropTypes.func.isRequired,
|
||||
changeTitle: PropTypes.func.isRequired,
|
||||
}
|
||||
|
||||
constructor(props) {
|
||||
@@ -28,7 +28,7 @@ export class Users extends Component {
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
this.props.onChangeTitle('Users')
|
||||
this.props.changeTitle('Users')
|
||||
|
||||
api.listUsers().then((list) => {
|
||||
list.items.sort((userA, userB) => (userA.lastName.localeCompare(userB.lastName)))
|
||||
@@ -45,7 +45,7 @@ export class Users extends Component {
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
this.props.onChangeTitle('')
|
||||
this.props.changeTitle('')
|
||||
}
|
||||
|
||||
removeUnfinishedNewUser() {
|
||||
|
||||
Reference in New Issue
Block a user