- {VPS_SYNC_OVERRIDE_FIELDS.map(({ key, label }) => {
- const overrides = watch('userOverrides') ?? []
- const checked = overrides.includes(key)
- return (
-
- {
- const next = value
- ? [...overrides, key]
- : overrides.filter((f) => f !== key)
- setValue('userOverrides', next)
- }}
- />
-
-
- )
- })}
-
-