Skip to content

Commit

Permalink
undo dashboard.ts changes
Browse files Browse the repository at this point in the history
  • Loading branch information
codemist committed Jul 27, 2023
1 parent 8669e27 commit 0b8d252
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/app/functions/server/dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export function dashboardSummary(
}
}

// count SSN
// count ssn
if (dataClasses.includes(BreachDataTypes.SSN)) {
summary.totalExposures++;
summary.allExposures.socialSecurityNumbers++;
Expand Down Expand Up @@ -231,14 +231,6 @@ export function dashboardSummary(
summary.dataBreachFixedNum++;
}
}

// count phone numbers
if (dataClasses.includes(BreachDataTypes.Phone)) {
summary.totalExposures++;
summary.allExposures.phoneNumbers++;
} else {
summary.totalExposures++;
}
});
}
}
Expand Down

0 comments on commit 0b8d252

Please sign in to comment.