Skip to content

Commit

Permalink
pretty 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Nov 13, 2023
1 parent 56b8d18 commit a9ba67c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ui/app/mirrors/create/qrep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ export default function QRepConfigForm({
setting.label === 'Create Destination Table'
? mirrorConfig.setupWatermarkTableOnDestination
: setting.label === 'Initial Copy Only'
? mirrorConfig.initialCopyOnly
: mirrorConfig.dstTableFullResync
? mirrorConfig.initialCopyOnly
: mirrorConfig.dstTableFullResync
}
onCheckedChange={(state: boolean) =>
handleChange(state, setting)
Expand Down
8 changes: 4 additions & 4 deletions ui/app/peers/[peerName]/helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export const DurationDisplay = ({ duration }: { duration: number }) => {
(duration % 3600) / 60
)} minutes`
: duration >= 60
? `${Math.floor(duration / 60)} minute(s) ${Math.floor(
duration % 60
)} seconds`
: `${duration.toFixed(2)} seconds`;
? `${Math.floor(duration / 60)} minute(s) ${Math.floor(
duration % 60
)} seconds`
: `${duration.toFixed(2)} seconds`;
};

0 comments on commit a9ba67c

Please sign in to comment.