aboutsummaryrefslogtreecommitdiff
path: root/src/components/side_drawer/side_drawer.js
diff options
context:
space:
mode:
authorTusooa Zhu <tusooa@kazv.moe>2021-08-03 19:58:24 -0400
committerTusooa Zhu <tusooa@kazv.moe>2021-08-03 20:11:06 -0400
commitef277ae4e272d2f30dacc6e5d447d8b655538a67 (patch)
tree67e271923ac23bb7c7d5b58d376171257bf8b36a /src/components/side_drawer/side_drawer.js
parent425919a0d292b79869ebefd2a4d52ed4db45d319 (diff)
Fix mobile shoutbox
Diffstat (limited to 'src/components/side_drawer/side_drawer.js')
-rw-r--r--src/components/side_drawer/side_drawer.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/side_drawer/side_drawer.js b/src/components/side_drawer/side_drawer.js
index 0faf3b9e..89719df3 100644
--- a/src/components/side_drawer/side_drawer.js
+++ b/src/components/side_drawer/side_drawer.js
@@ -49,6 +49,7 @@ const SideDrawer = {
currentUser () {
return this.$store.state.users.currentUser
},
+ shout () { return this.$store.state.shout.channel.state === 'joined' },
unseenNotifications () {
return unseenNotificationsFromStore(this.$store)
},