Fix mobile shoutbox

This commit is contained in:
Tusooa Zhu 2021-08-03 19:58:24 -04:00 committed by Sam Therapy
parent c1200076bd
commit d62e78a3cf
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 3 additions and 2 deletions

View file

@ -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)
},

View file

@ -106,10 +106,10 @@
</router-link>
</li>
<li
v-if="chat"
v-if="shout"
@click="toggleDrawer"
>
<router-link :to="{ name: 'chat-panel' }">
<router-link :to="{ name: 'shout-panel' }">
<FAIcon
fixed-width
class="fa-scale-110 fa-old-padding"