summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-06-29 10:14:51 -0400
committerGitHub <noreply@github.com>2017-06-29 10:14:51 -0400
commitfcc9a8e6ae006b3609a0d6e013ad0060bc2f1c2a (patch)
tree3db1f3376a22055d4f6e716f0cf9dae10e67feef /webapp
parent3cd8057d28b28f360b630bbc323fdf22d144b83b (diff)
downloadchat-fcc9a8e6ae006b3609a0d6e013ad0060bc2f1c2a.tar.gz
chat-fcc9a8e6ae006b3609a0d6e013ad0060bc2f1c2a.tar.bz2
chat-fcc9a8e6ae006b3609a0d6e013ad0060bc2f1c2a.zip
Fix bad merge (#6796)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/create_post.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/create_post.jsx b/webapp/components/create_post.jsx
index 8ec671e45..4587f3a90 100644
--- a/webapp/components/create_post.jsx
+++ b/webapp/components/create_post.jsx
@@ -78,7 +78,7 @@ export default class CreatePost extends React.Component {
const channel = ChannelStore.getCurrent();
const channelId = channel.id;
- const draft = PostStore.getPostDraft(channelId);
+ const draft = PostStore.getDraft(channelId);
const stats = ChannelStore.getCurrentStats();
const members = stats.member_count - 1;