This commit is contained in:
Roger Braun 2017-12-05 11:49:40 +01:00
parent 27be1e0fa3
commit 6ad27959a6

View file

@ -11,11 +11,11 @@ const chat = {
}
},
methods: {
submit(message) {
submit (message) {
this.$store.state.chat.channel.push('new_msg', {text: message}, 10000)
this.currentMessage = '';
this.currentMessage = ''
}
}
}
export default chat;
export default chat