Copying profiles on posts_view so we can detect new users (#2847)
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
f8ed606a5f
Коммит
ddc888d264
@@ -77,7 +77,7 @@ export default class PostsView extends React.Component {
|
||||
});
|
||||
}
|
||||
onUserChange() {
|
||||
this.setState({currentUser: UserStore.getCurrentUser(), profiles: UserStore.getProfiles()});
|
||||
this.setState({currentUser: UserStore.getCurrentUser(), profiles: JSON.parse(JSON.stringify(UserStore.getProfiles()))});
|
||||
}
|
||||
isAtBottom() {
|
||||
// consider the view to be at the bottom if it's within this many pixels of the bottom
|
||||
|
||||
Ссылка в новой задаче
Block a user