aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authoreal <eal@waifu.club>2018-02-01 19:18:47 +0200
committereal <eal@waifu.club>2018-02-01 19:18:47 +0200
commit043e14d5cb929fca35b8d55c9008498146e90b8b (patch)
treefc8caae712247220881722ffa96b12bbccf4e83e /src/App.js
parent3ff39f9b392013856c26d63ef3a318b02287eb34 (diff)
Show chat only if channel is joined.
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/App.js b/src/App.js
index 0636c47d..8e7acb42 100644
--- a/src/App.js
+++ b/src/App.js
@@ -24,7 +24,7 @@ export default {
logoStyle () { return { 'background-image': `url(${this.$store.state.config.logo})` } },
style () { return { 'background-image': `url(${this.background})` } },
sitename () { return this.$store.state.config.name },
- chat () { return this.$store.state.chat.channel }
+ chat () { return this.$store.state.chat.channel.state === 'joined' }
},
methods: {
activatePanel (panelName) {