Merge branch 'from/develop/tusooa/fix-mobile-shoutbox-display' into 'develop'

Fix mobile shoutbox display

See merge request pleroma/pleroma-fe!1404
This commit is contained in:
Shpuld Shpludson 2021-09-07 14:46:39 +00:00
commit 25a8b48bf2
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"