summaryrefslogtreecommitdiffstats
path: root/web/react/components/rhs_thread.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-11-02 08:37:17 -0500
committerChristopher Speller <crspeller@gmail.com>2015-11-02 10:29:53 -0500
commit1e7ac66e3bcc796c705ed6a833161cab6bd5b65d (patch)
treed97515b083f733cf2ea8096e3d62b253a1b8a2ae /web/react/components/rhs_thread.jsx
parentb9a3ff74dd2b299ae4980922a6dcc55002662517 (diff)
downloadchat-1e7ac66e3bcc796c705ed6a833161cab6bd5b65d.tar.gz
chat-1e7ac66e3bcc796c705ed6a833161cab6bd5b65d.tar.bz2
chat-1e7ac66e3bcc796c705ed6a833161cab6bd5b65d.zip
Some renaming
Diffstat (limited to 'web/react/components/rhs_thread.jsx')
-rw-r--r--web/react/components/rhs_thread.jsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/react/components/rhs_thread.jsx b/web/react/components/rhs_thread.jsx
index bcdec2870..fe57bed28 100644
--- a/web/react/components/rhs_thread.jsx
+++ b/web/react/components/rhs_thread.jsx
@@ -34,12 +34,12 @@ export default class RhsThread extends React.Component {
}
var channelId = postList.posts[postList.order[0]].channel_id;
- var pendingPostList = PostStore.getPendingPosts(channelId);
+ var pendingPostsList = PostStore.getPendingPosts(channelId);
- if (pendingPostList) {
- for (var pid in pendingPostList.posts) {
- if (pendingPostList.posts.hasOwnProperty(pid)) {
- postList.posts[pid] = pendingPostList.posts[pid];
+ if (pendingPostsList) {
+ for (var pid in pendingPostsList.posts) {
+ if (pendingPostsList.posts.hasOwnProperty(pid)) {
+ postList.posts[pid] = pendingPostsList.posts[pid];
}
}
}