Update field_settings.vue

pull/402/head
Vincent Barrier 10 months ago committed by GitHub
parent f95f24de90
commit a21328afd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -266,7 +266,7 @@
:checked="field.preferences?.only_with_camera != false"
type="checkbox"
class="toggle toggle-xs"
@change="[field.preferences ||= {}, field.preferences.only_with_camera = field.preferences.only_with_camera == true, save()]"
@change="[field.preferences ||= {}, field.preferences.only_with_camera = field.preferences.only_with_camera == false, save()]"
>
<span class="label-text">{{ t('only_with_camera') }}</span>
</label>

Loading…
Cancel
Save