Revert PLT-3233 (#3477)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
c90a34c2a3
Коммит
bc726b0840
@@ -161,8 +161,9 @@ class UserSettingsGeneralTab extends React.Component {
|
|||||||
const confirmEmail = this.state.confirmEmail.trim().toLowerCase();
|
const confirmEmail = this.state.confirmEmail.trim().toLowerCase();
|
||||||
|
|
||||||
const {formatMessage} = this.props.intl;
|
const {formatMessage} = this.props.intl;
|
||||||
if (user.email === email) {
|
|
||||||
this.setState({emailError: Utils.localizeMessage('user.settings.general.emailUnchanged', 'Your new email address is the same as your old email address.'), clientError: '', serverError: ''});
|
if (user.email === email && confirmEmail === '') {
|
||||||
|
this.updateSection('');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user