Skip to content

Commit

Permalink
fix: show zero individuals as dashes in network node counts
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Oct 17, 2024
1 parent 8c4af73 commit c63629a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ import type { OptionalDiscoveryResults } from '@/types/data';

const NodeCountsDisplay = ({ isFetchingQueryResponse, results }: NodeCountsDisplayProps) => (
<div style={{ display: 'flex', justifyContent: 'center' }}>
<SearchResultsCounts mode="beacon-network" results={results} isFetchingQueryResponse={isFetchingQueryResponse} />
<SearchResultsCounts
mode="beacon-network"
results={results}
isFetchingQueryResponse={isFetchingQueryResponse}
showZeroIndividualsAsDashes={true}
/>
</div>
);

Expand Down

0 comments on commit c63629a

Please sign in to comment.