summaryrefslogtreecommitdiffstats
path: root/webapp/components
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components')
-rw-r--r--webapp/components/posts_view.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/posts_view.jsx b/webapp/components/posts_view.jsx
index 7c1f13fca..fc36e3261 100644
--- a/webapp/components/posts_view.jsx
+++ b/webapp/components/posts_view.jsx
@@ -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