Commit bbe4f3e3 authored by Shpuld Shpludson's avatar Shpuld Shpludson

Merge branch 'issue-410-greyout-checkbox' into 'develop'

#410: disable checkbox when parent is disabled

Closes #410

See merge request !624
parents 88c7c8b1 1c57a1c9
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment