From 043e14d5cb929fca35b8d55c9008498146e90b8b Mon Sep 17 00:00:00 2001 From: eal Date: Thu, 1 Feb 2018 19:18:47 +0200 Subject: Show chat only if channel is joined. --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/App.js') 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) { -- cgit v1.2.3-70-g09d2