diff options
author | Corey Hulen <corey@hulen.com> | 2015-11-12 10:12:34 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-11-12 10:12:34 -0800 |
commit | b6049721f9a168b47b5b6b602517719277b56b07 (patch) | |
tree | c3b306daf84f8a159f0819fa66a27deb4902a1d8 /web/react/components/access_history_modal.jsx | |
parent | 6f7b7169b2333a8f9e3dca41bb23eefc9935731b (diff) | |
parent | 50815f9be7195d736debd6bcd9d300dd95bbc738 (diff) | |
download | chat-b6049721f9a168b47b5b6b602517719277b56b07.tar.gz chat-b6049721f9a168b47b5b6b602517719277b56b07.tar.bz2 chat-b6049721f9a168b47b5b6b602517719277b56b07.zip |
Merge pull request #1409 from mattermost/plt-961
PLT-961 Rename areStatesEqual to areObjectsEqual and make it more comprehensive and accurate.
Diffstat (limited to 'web/react/components/access_history_modal.jsx')
-rw-r--r-- | web/react/components/access_history_modal.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/access_history_modal.jsx b/web/react/components/access_history_modal.jsx index 27959ec7e..ab5686720 100644 --- a/web/react/components/access_history_modal.jsx +++ b/web/react/components/access_history_modal.jsx @@ -54,7 +54,7 @@ export default class AccessHistoryModal extends React.Component { } onAuditChange() { var newState = this.getStateFromStoresForAudits(); - if (!Utils.areStatesEqual(newState.audits, this.state.audits)) { + if (!Utils.areObjectsEqual(newState.audits, this.state.audits)) { this.setState(newState); } } |