Hide isp option if instance has panel disabled

cherry-pick-254b0afa
Edijs 6 years ago
parent a842cadd15
commit e871e3f2ac

@ -91,7 +91,8 @@ const settings = {
},
currentSaveStateNotice () {
return this.$store.state.interface.settings.currentSaveStateNotice
}
},
showInstanceSpecificPanel () { return this.$store.state.instance.showInstanceSpecificPanel }
},
watch: {
hideAttachmentsLocal (value) {

@ -27,7 +27,7 @@
<li>
<interface-language-switcher />
</li>
<li>
<li v-if="showInstanceSpecificPanel">
<input type="checkbox" id="hideISP" v-model="hideISPLocal">
<label for="hideISP">{{$t('settings.hide_isp')}}</label>
</li>

Loading…
Cancel
Save