mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixed loading forever on first page load
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user