Show chat only if channel is joined.

This commit is contained in:
eal 2018-02-01 19:18:47 +02:00
parent 3ff39f9b39
commit 043e14d5cb
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
const chat = {
state: {
messages: [],
channel: null
channel: {state: ''}
},
mutations: {
setChannel (state, channel) {