#410: disable checkbox when parent is disabled

This commit is contained in:
dave 2019-02-28 12:28:45 -05:00
parent 24f3770fb5
commit 1c57a1c9b4

View file

@ -150,7 +150,7 @@
<label for="preloadImage">{{$t('settings.preload_images')}}</label>
</li>
<li>
<input type="checkbox" id="useOneClickNsfw" v-model="useOneClickNsfw">
<input :disabled="!hideNsfwLocal" type="checkbox" id="useOneClickNsfw" v-model="useOneClickNsfw">
<label for="useOneClickNsfw">{{$t('settings.use_one_click_nsfw')}}</label>
</li>
</ul>