summaryrefslogtreecommitdiffstats
path: root/web/react/components/create_post.jsx
diff options
context:
space:
mode:
authorFlorian Orben <florian.orben@gmail.com>2015-10-31 03:22:02 +0100
committerFlorian Orben <florian.orben@gmail.com>2015-11-05 23:33:21 +0100
commitd3ed791ab52eaddb7690869bb1cd982453badd95 (patch)
tree2d54a05d955ac860794492d4c129fad8ebc231cc /web/react/components/create_post.jsx
parentd96cb50b68adca9f035c7582f1ceefdde64fb4f7 (diff)
downloadchat-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.jsx1
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);