Hide isp option if instance has panel disabled

このコミットが含まれているのは:
Edijs 2019-02-17 13:24:24 -07:00
コミット e871e3f2ac
2個のファイルの変更3行の追加2行の削除

ファイルの表示

@ -91,7 +91,8 @@ const settings = {
}, },
currentSaveStateNotice () { currentSaveStateNotice () {
return this.$store.state.interface.settings.currentSaveStateNotice return this.$store.state.interface.settings.currentSaveStateNotice
} },
showInstanceSpecificPanel () { 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="showInstanceSpecificPanel">
<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>