New option: Hide shoutbox

This commit is contained in:
Eris 2021-06-14 19:42:56 +00:00
parent 2725a0c639
commit 0c10145242
6 changed files with 12 additions and 1 deletions

View file

@ -50,6 +50,7 @@ const GeneralTab = {
return this.$store.state.instance.background &&
!this.$store.state.users.currentUser.background_image
},
shout () { return this.$store.state.shout.channel.state === 'joined' },
...SharedComputedObject()
}
}

View file

@ -21,6 +21,11 @@
{{ $t('settings.hide_wallpaper') }}
</BooleanSetting>
</li>
<li v-if="shout">
<BooleanSetting path="hideShoutbox">
{{ $t('settings.hide_shoutbox') }} {{ $t('shoutbox.title') }}
</BooleanSetting>
</li>
</ul>
</div>
<div class="setting-item">