summaryrefslogtreecommitdiffstats
path: root/web/react/components/user_settings_notifications.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/user_settings_notifications.jsx')
-rw-r--r--web/react/components/user_settings_notifications.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/user_settings_notifications.jsx b/web/react/components/user_settings_notifications.jsx
index 84a7b62c7..5fe6bbb4e 100644
--- a/web/react/components/user_settings_notifications.jsx
+++ b/web/react/components/user_settings_notifications.jsx
@@ -142,7 +142,7 @@ export default class NotificationsTab extends React.Component {
this.props.updateTab('general');
}
updateSection(section) {
- this.setState(this.getInitialState());
+ this.setState(getNotificationsStateFromStores());
this.props.updateSection(section);
}
componentDidMount() {