Don't re-enable the save button after saving profiles
Fixes https://github.com/vector-im/riot-web/issues/8569pull/21833/head
parent
8d7837829e
commit
b84b11d3bd
|
@ -91,7 +91,6 @@ export default class RoomProfileSettings extends React.Component {
|
|||
newState.originalTopic = this.state.topic;
|
||||
}
|
||||
|
||||
newState.enableProfileSave = true;
|
||||
this.setState(newState);
|
||||
};
|
||||
|
||||
|
|
|
@ -72,7 +72,6 @@ export default class ProfileSettings extends React.Component {
|
|||
newState.avatarFile = null;
|
||||
}
|
||||
|
||||
newState.enableProfileSave = true;
|
||||
this.setState(newState);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue