From 407b3774669059cf26f5cb97d30328c592c71b0b Mon Sep 17 00:00:00 2001 From: Amogh Bharadwaj Date: Wed, 27 Dec 2023 22:43:39 +0530 Subject: [PATCH] fix default setting --- ui/app/mirrors/create/helpers/cdc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',