From de8bfc3c92b9f59102f03c09a85562d56022ca72 Mon Sep 17 00:00:00 2001 From: royallsilwallz Date: Wed, 11 Oct 2023 17:26:44 +0545 Subject: [PATCH] replace zero with - for ohsomeNow stats no value case in My Contributions --- frontend/src/components/userDetail/elementsMapped.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/userDetail/elementsMapped.js b/frontend/src/components/userDetail/elementsMapped.js index 1a4da1ef7b..72c9a58126 100644 --- a/frontend/src/components/userDetail/elementsMapped.js +++ b/frontend/src/components/userDetail/elementsMapped.js @@ -146,12 +146,12 @@ export const ElementsMapped = ({ userStats, osmStats }) => { } description={} - value={osmStats.total_poi_count_add || 0} + value={osmStats.total_poi_count_add || '-'} /> } description={} - value={osmStats.total_waterway_km_add || 0} + value={osmStats.total_waterway_km_add || '-'} />