#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> <label for="preloadImage">{{$t('settings.preload_images')}}</label>
</li> </li>
<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> <label for="useOneClickNsfw">{{$t('settings.use_one_click_nsfw')}}</label>
</li> </li>
</ul> </ul>