Fix mobile shoutbox

This commit is contained in:
Tusooa Zhu 2021-08-03 19:58:24 -04:00
parent 425919a0d2
commit ef277ae4e2
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224
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"