From 974238231b9cdbd39a825ec8e9299fbb0b51f6b8 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 13 Jun 2016 14:36:40 -0400 Subject: PLT-3270 Comment out max file size setting in system console (#3324) * Comment out max file size settting in system console * Remove pending post after successful create post request --- webapp/components/create_post.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/components/create_post.jsx') diff --git a/webapp/components/create_post.jsx b/webapp/components/create_post.jsx index 7aa0a586b..caf58c744 100644 --- a/webapp/components/create_post.jsx +++ b/webapp/components/create_post.jsx @@ -180,7 +180,7 @@ class CreatePost extends React.Component { Client.createPost(post, () => { - // DO nothing. Websockets will handle this. + PostStore.removePendingPost(post.pending_post_id); }, (err) => { if (err.id === 'api.post.create_post.root_id.app_error') { -- cgit v1.2.3-1-g7c22