mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Changed ordering of steps for upload to imporve asthetic
This commit is contained in:
@@ -844,11 +844,13 @@ var GeneralTab = React.createClass({
|
||||
updatePicture: function(e) {
|
||||
if (e.target.files && e.target.files[0]) {
|
||||
this.setState({ picture: e.target.files[0] });
|
||||
|
||||
this.submitActive = true;
|
||||
this.setState({client_error:null})
|
||||
|
||||
} else {
|
||||
this.setState({ picture: null });
|
||||
}
|
||||
|
||||
this.submitActive = true
|
||||
},
|
||||
updateSection: function(section) {
|
||||
this.setState({client_error:""})
|
||||
|
||||
Reference in New Issue
Block a user