Merge pull request #3588 from thelounge/xpaw/hide-settings

Hide awaymessage/highlights settings in public mode
This commit is contained in:
Pavel Djundik 2019-12-15 19:10:21 +02:00 committed by GitHub
commit 98708a2ebd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@
Show seconds in timestamp
</label>
</div>
<div v-if="$store.state.settings.advanced">
<div v-if="!$store.state.serverConfiguration.public && $store.state.settings.advanced">
<h2>Automatic away message</h2>
<label class="opt">
@ -308,7 +308,7 @@
</label>
</div>
<div v-if="$store.state.settings.advanced">
<div v-if="!$store.state.serverConfiguration.public && $store.state.settings.advanced">
<label class="opt">
<label for="highlights" class="sr-only">
Custom highlights (comma-separated keywords)