summaryrefslogtreecommitdiffstats
path: root/web/react/components/team_settings.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/team_settings.jsx')
-rw-r--r--web/react/components/team_settings.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/team_settings.jsx b/web/react/components/team_settings.jsx
index 09674f1ef..862f3c528 100644
--- a/web/react/components/team_settings.jsx
+++ b/web/react/components/team_settings.jsx
@@ -23,7 +23,7 @@ export default class TeamSettings extends React.Component {
}
onChange() {
var team = TeamStore.getCurrent();
- if (!Utils.areStatesEqual(this.state.team, team)) {
+ if (!Utils.areObjectsEqual(this.state.team, team)) {
this.setState({team});
}
}