Revert "Fixed loading forever on first page load"
This reverts commit d020db39cb.
Этот коммит содержится в:
@@ -85,6 +85,11 @@ export default class PostsViewContainer extends React.Component {
|
|||||||
const channels = this.state.channels.slice();
|
const channels = this.state.channels.slice();
|
||||||
const channelId = ChannelStore.getCurrentId();
|
const channelId = ChannelStore.getCurrentId();
|
||||||
|
|
||||||
|
// Has the channel really changed?
|
||||||
|
if (channelId === channels[this.state.currentChannelIndex]) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
PostStore.clearUnseenDeletedPosts(channelId);
|
PostStore.clearUnseenDeletedPosts(channelId);
|
||||||
|
|
||||||
let lastViewed = Number.MAX_VALUE;
|
let lastViewed = Number.MAX_VALUE;
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user