summaryrefslogtreecommitdiffstats
path: root/web/react/components/user_settings_notifications.jsx
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-09-02 16:26:43 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-09-02 16:30:27 -0700
commit97fa0d95b4d26734ce17a489d5e82d7f0298bffb (patch)
tree555f398dc587ea7f4ec76aba8010a55dd13a9c6c /web/react/components/user_settings_notifications.jsx
parent83788409a2fd5fdcbf9f55e86a73cf83cd9e1763 (diff)
downloadchat-97fa0d95b4d26734ce17a489d5e82d7f0298bffb.tar.gz
chat-97fa0d95b4d26734ce17a489d5e82d7f0298bffb.tar.bz2
chat-97fa0d95b4d26734ce17a489d5e82d7f0298bffb.zip
Replaced remaining calls of getInitialState
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() {