mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixed file upload and profile picture upload error display to work for serverside errors
This commit is contained in:
@@ -171,7 +171,7 @@ export default class UserSettingsGeneralTab extends React.Component {
|
||||
}.bind(this),
|
||||
function imageUploadFailure(err) {
|
||||
var state = this.setupInitialState(this.props);
|
||||
state.serverError = err;
|
||||
state.serverError = err.message;
|
||||
this.setState(state);
|
||||
}.bind(this)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user