diff --git a/ui/app/mirrors/create/helpers/cdc.ts b/ui/app/mirrors/create/helpers/cdc.ts index 3cf35d4c92..e5f0638d61 100644 --- a/ui/app/mirrors/create/helpers/cdc.ts +++ b/ui/app/mirrors/create/helpers/cdc.ts @@ -6,7 +6,7 @@ export const cdcSettings: MirrorSetting[] = [ stateHandler: (value, setter) => setter((curr: CDCConfig) => ({ ...curr, - doInitialCopy: (value as boolean) || true, + doInitialCopy: (value as boolean) ?? true, })), tips: 'Specify if you want initial load to happen for your tables.', type: 'switch',