From b84b11d3bdf147e426c00b710b141f3f5fd740ba Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 28 Feb 2019 19:13:28 -0700 Subject: [PATCH] Don't re-enable the save button after saving profiles Fixes https://github.com/vector-im/riot-web/issues/8569 --- src/components/views/room_settings/RoomProfileSettings.js | 1 - src/components/views/settings/ProfileSettings.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/components/views/room_settings/RoomProfileSettings.js b/src/components/views/room_settings/RoomProfileSettings.js index be3d9c5a37..8205ee3f6e 100644 --- a/src/components/views/room_settings/RoomProfileSettings.js +++ b/src/components/views/room_settings/RoomProfileSettings.js @@ -91,7 +91,6 @@ export default class RoomProfileSettings extends React.Component { newState.originalTopic = this.state.topic; } - newState.enableProfileSave = true; this.setState(newState); }; diff --git a/src/components/views/settings/ProfileSettings.js b/src/components/views/settings/ProfileSettings.js index 649128e4f3..01b94e42bb 100644 --- a/src/components/views/settings/ProfileSettings.js +++ b/src/components/views/settings/ProfileSettings.js @@ -72,7 +72,6 @@ export default class ProfileSettings extends React.Component { newState.avatarFile = null; } - newState.enableProfileSave = true; this.setState(newState); };