From d62e78a3cf931d599ae8abbdbc5c6ab69b9c1ca7 Mon Sep 17 00:00:00 2001 From: Tusooa Zhu Date: Tue, 3 Aug 2021 19:58:24 -0400 Subject: [PATCH] Fix mobile shoutbox --- src/components/side_drawer/side_drawer.js | 1 + src/components/side_drawer/side_drawer.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 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) }, diff --git a/src/components/side_drawer/side_drawer.vue b/src/components/side_drawer/side_drawer.vue index 575052be..dd88de7d 100644 --- a/src/components/side_drawer/side_drawer.vue +++ b/src/components/side_drawer/side_drawer.vue @@ -106,10 +106,10 @@
  • - +