4305 - Assigned error.id and message to <FormattedMessage/> component when error is returned. (#4306)
* Auto Changes * Fixed error message for max users per team * Update config.json * Update config.json * Removed formatted message component and directly assigned e.message
Этот коммит содержится в:
@@ -79,16 +79,11 @@ export default class SignupController extends React.Component {
|
||||
}
|
||||
);
|
||||
},
|
||||
() => {
|
||||
(e) => {
|
||||
this.setState({ // eslint-disable-line react/no-did-mount-set-state
|
||||
noOpenServerError: true,
|
||||
loading: false,
|
||||
serverError: (
|
||||
<FormattedMessage
|
||||
id='signup_user_completed.invalid_invite'
|
||||
defaultMessage='The invite link was invalid. Please speak with your Administrator to receive an invitation.'
|
||||
/>
|
||||
)
|
||||
serverError: e.message
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
Ссылка в новой задаче
Block a user