fix typo in chat component

This commit is contained in:
Matteo Pagliazzi
2017-09-10 23:55:35 +02:00
parent daca2c7fff
commit d2832b7169

View File

@@ -637,7 +637,7 @@ export default {
},
async sendMessage () {
let response = await this.$store.dispatch('chat:postChat', {
group: this.group._id,
group: this.group,
message: this.newMessage,
});
this.group.chat.unshift(response.message);