summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-05-05 15:32:56 -0400
committerCorey Hulen <corey@hulen.com>2016-05-05 12:32:56 -0700
commitcf05c92effb51cc5649bc8b27babb6ed77959f0c (patch)
tree2e94f003256afae246353946d0653fc8c3a9dc15 /webapp
parent3b8b23218da924b2be91511628fd6d8911bde02d (diff)
downloadchat-cf05c92effb51cc5649bc8b27babb6ed77959f0c.tar.gz
chat-cf05c92effb51cc5649bc8b27babb6ed77959f0c.tar.bz2
chat-cf05c92effb51cc5649bc8b27babb6ed77959f0c.zip
Fix not rendering on team member update in more direct channels modal (#2891)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/more_direct_channels.jsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/webapp/components/more_direct_channels.jsx b/webapp/components/more_direct_channels.jsx
index 761ce0c37..2895047b5 100644
--- a/webapp/components/more_direct_channels.jsx
+++ b/webapp/components/more_direct_channels.jsx
@@ -60,6 +60,10 @@ export default class MoreDirectChannels extends React.Component {
return true;
}
+ if (!Utils.areObjectsEqual(nextState.teamMembers, this.state.teamMembers)) {
+ return true;
+ }
+
return false;
}