Don't re-enable the save button after saving profiles

Fixes https://github.com/vector-im/riot-web/issues/8569
pull/21833/head
Travis Ralston 2019-02-28 19:13:28 -07:00
parent 8d7837829e
commit b84b11d3bd
2 changed files with 0 additions and 2 deletions

View File

@ -91,7 +91,6 @@ export default class RoomProfileSettings extends React.Component {
newState.originalTopic = this.state.topic;
}
newState.enableProfileSave = true;
this.setState(newState);
};

View File

@ -72,7 +72,6 @@ export default class ProfileSettings extends React.Component {
newState.avatarFile = null;
}
newState.enableProfileSave = true;
this.setState(newState);
};