Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
individual result count
Browse files Browse the repository at this point in the history
  • Loading branch information
erinz2020 committed Jan 4, 2024
1 parent 23a3f5e commit b1b0720
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/dataDisplays/IndividualsDisplay.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ export default function IndividualsDisplay({
formFilters,
...rest
}) {
const title = dataCount
? `${dataCount} matching individuals`
: 'Matching individuals';
const title = `${dataCount || individuals.length} matching individuals`;

const columns = [
{
Expand Down

0 comments on commit b1b0720

Please sign in to comment.