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 () { currentUser () {
return this.$store.state.users.currentUser return this.$store.state.users.currentUser
}, },
shout () { return this.$store.state.shout.channel.state === 'joined' },
unseenNotifications () { unseenNotifications () {
return unseenNotificationsFromStore(this.$store) return unseenNotificationsFromStore(this.$store)
}, },

View file

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