Don't display if we don't have a chat.

This commit is contained in:
Roger Braun 2017-12-05 14:20:34 +01:00
parent a03b92e252
commit 6c4e3a509a
3 changed files with 5 additions and 2 deletions

View file

@ -2,6 +2,9 @@ const NavPanel = {
computed: {
currentUser () {
return this.$store.state.users.currentUser
},
chat () {
return this.$store.state.chat.channel
}
}
}