diff options
author | Florian Orben <florian.orben@gmail.com> | 2015-10-31 03:22:02 +0100 |
---|---|---|
committer | Florian Orben <florian.orben@gmail.com> | 2015-11-05 23:33:21 +0100 |
commit | d3ed791ab52eaddb7690869bb1cd982453badd95 (patch) | |
tree | 2d54a05d955ac860794492d4c129fad8ebc231cc /web/react/components/create_post.jsx | |
parent | d96cb50b68adca9f035c7582f1ceefdde64fb4f7 (diff) | |
download | chat-d3ed791ab52eaddb7690869bb1cd982453badd95.tar.gz chat-d3ed791ab52eaddb7690869bb1cd982453badd95.tar.bz2 chat-d3ed791ab52eaddb7690869bb1cd982453badd95.zip |
attachments frontend
Diffstat (limited to 'web/react/components/create_post.jsx')
-rw-r--r-- | web/react/components/create_post.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/components/create_post.jsx b/web/react/components/create_post.jsx index 5a69c9bfb..90ba47718 100644 --- a/web/react/components/create_post.jsx +++ b/web/react/components/create_post.jsx @@ -173,6 +173,7 @@ export default class CreatePost extends React.Component { post.create_at = time; post.root_id = this.state.rootId; post.parent_id = this.state.parentId; + post.attachments = []; const channel = ChannelStore.get(this.state.channelId); |