Skip to content

Commit

Permalink
replace zero with - for ohsomeNow stats no value case in My Contribut…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
royallsilwallz committed Oct 11, 2023
1 parent 547e0ce commit de8bfc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/userDetail/elementsMapped.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ export const ElementsMapped = ({ userStats, osmStats }) => {
<StatsCard
icon={<MarkerIcon className={iconClass} style={iconStyle} />}
description={<FormattedMessage {...messages.poiMapped} />}
value={osmStats.total_poi_count_add || 0}
value={osmStats.total_poi_count_add || '-'}
/>
<StatsCard
icon={<WavesIcon className={iconClass} style={iconStyle} />}
description={<FormattedMessage {...messages.waterwaysMapped} />}
value={osmStats.total_waterway_km_add || 0}
value={osmStats.total_waterway_km_add || '-'}
/>
</div>
<div className="cf w-100 relative tr pt3 pr3">
Expand Down

0 comments on commit de8bfc3

Please sign in to comment.