Skip to content

Commit

Permalink
fix: Switching of valid & invalid records
Browse files Browse the repository at this point in the history
  • Loading branch information
chavda-bhavik committed Jul 5, 2024
1 parent f3a19a5 commit 4766205
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/widget/src/components/widget/Phases/Phase3/Phase3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ export function Phase3(props: IPhase3Props) {
onChange={onTypeChange}
items={[
{ value: 'all', label: `All ${numberFormatter(totalRecords)}` },
{ value: 'valid', label: `Valid ${numberFormatter(invalidRecords)}` },
{ value: 'invalid', label: `Invalid ${numberFormatter(totalRecords - invalidRecords)}` },
{ value: 'valid', label: `Valid ${numberFormatter(totalRecords - invalidRecords)}` },
{ value: 'invalid', label: `Invalid ${numberFormatter(invalidRecords)}` },
]}
/>
<Button color="red" disabled={!selectedRowsRef.current.size} onClick={() => setShowDeleteConfirmModal(true)}>
Expand Down

0 comments on commit 4766205

Please sign in to comment.