Skip to content

Commit

Permalink
fix repl slot field appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed May 14, 2024
1 parent 1cab754 commit a91d2d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/app/mirrors/create/cdc/cdc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ export default function CDCConfigForm({
if (
(label.includes('snapshot') && mirrorConfig.doInitialSnapshot !== true) ||
(label === 'replication slot name' &&
mirrorConfig.doInitialSnapshot === true &&
!isQueue) ||
mirrorConfig.doInitialSnapshot === true) ||
(label.includes('staging path') &&
defaultSyncMode(mirrorConfig.destination?.type) !== 'AVRO') ||
(isQueue && label.includes('soft delete')) ||
Expand Down

0 comments on commit a91d2d6

Please sign in to comment.