summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-11-06 12:10:38 -0500
committerJoram Wilander <jwawilander@gmail.com>2015-11-06 12:10:38 -0500
commit190adae0c9e36912930663429d185b94cfbef1bd (patch)
tree27d32d26501f5d5d81078ba11b4f59f053268507 /web/react
parent8022f99da553ff746a1d3e514256e4c8c086ba2a (diff)
parentd020db39cb3c694332b58f030c4441a761b16d01 (diff)
downloadchat-190adae0c9e36912930663429d185b94cfbef1bd.tar.gz
chat-190adae0c9e36912930663429d185b94cfbef1bd.tar.bz2
chat-190adae0c9e36912930663429d185b94cfbef1bd.zip
Merge pull request #1339 from mattermost/loading-forever-fix
Fixed loading forever on first page load
Diffstat (limited to 'web/react')
-rw-r--r--web/react/components/posts_view_container.jsx5
1 files changed, 0 insertions, 5 deletions
diff --git a/web/react/components/posts_view_container.jsx b/web/react/components/posts_view_container.jsx
index 761664602..6cdf69402 100644
--- a/web/react/components/posts_view_container.jsx
+++ b/web/react/components/posts_view_container.jsx
@@ -85,11 +85,6 @@ export default class PostsViewContainer extends React.Component {
const channels = this.state.channels.slice();
const channelId = ChannelStore.getCurrentId();
- // Has the channel really changed?
- if (channelId === channels[this.state.currentChannelIndex]) {
- return;
- }
-
PostStore.clearUnseenDeletedPosts(channelId);
let lastViewed = Number.MAX_VALUE;