Fix :disabled for a certain checkbox

This commit is contained in:
Tamius Han 2021-04-05 03:30:49 +02:00
parent 861e62dc56
commit dbf96f97b6

View File

@ -156,6 +156,7 @@
<div class="flex label-secondary form-label">
<input :checked="settings?.active?.mitigations?.zoomLimit?.fullscreenOnly"
@change="setMitigation(['zoomLimit', 'fullscreenOnly'], $event.target.checked)"
:disabled="!settings?.active?.mitigations?.zoomLimit?.enabled"
type="checkbox"
/> Limit zoom only while in fullscreen
</div>