mirror of https://github.com/vector-im/riot-web
Merge pull request #2726 from matrix-org/travis/settings/save-feedback
Don't re-enable the save button after saving profilespull/21833/head
commit
f9d6d42781
|
@ -91,7 +91,6 @@ export default class RoomProfileSettings extends React.Component {
|
||||||
newState.originalTopic = this.state.topic;
|
newState.originalTopic = this.state.topic;
|
||||||
}
|
}
|
||||||
|
|
||||||
newState.enableProfileSave = true;
|
|
||||||
this.setState(newState);
|
this.setState(newState);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,6 @@ export default class ProfileSettings extends React.Component {
|
||||||
newState.avatarFile = null;
|
newState.avatarFile = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
newState.enableProfileSave = true;
|
|
||||||
this.setState(newState);
|
this.setState(newState);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue