Merge branch 'instance-specific-panel' into 'develop'
Hide ISP option if instance has panel disabled Closes #368 See merge request pleroma/pleroma-fe!592
This commit is contained in:
commit
962a33f887
@ -91,7 +91,8 @@ const settings = {
|
|||||||
},
|
},
|
||||||
currentSaveStateNotice () {
|
currentSaveStateNotice () {
|
||||||
return this.$store.state.interface.settings.currentSaveStateNotice
|
return this.$store.state.interface.settings.currentSaveStateNotice
|
||||||
}
|
},
|
||||||
|
instanceSpecificPanelPresent () { return this.$store.state.instance.showInstanceSpecificPanel }
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
hideAttachmentsLocal (value) {
|
hideAttachmentsLocal (value) {
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
<li>
|
<li>
|
||||||
<interface-language-switcher />
|
<interface-language-switcher />
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li v-if="instanceSpecificPanelPresent">
|
||||||
<input type="checkbox" id="hideISP" v-model="hideISPLocal">
|
<input type="checkbox" id="hideISP" v-model="hideISPLocal">
|
||||||
<label for="hideISP">{{$t('settings.hide_isp')}}</label>
|
<label for="hideISP">{{$t('settings.hide_isp')}}</label>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user