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
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b353b9fbcf
Коммит
974238231b
@@ -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') {
|
||||
|
||||
Ссылка в новой задаче
Block a user