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

#410: disable checkbox when parent is disabled

Closes #410

See merge request pleroma/pleroma-fe!624
This commit is contained in:
Shpuld Shpludson 2019-02-28 18:02:15 +00:00
commit bbe4f3e3af

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>