From 6f326c70fd0aa4b51ad74517fc72e279bc4113cd Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Thu, 25 Oct 2018 13:49:24 +0100 Subject: [PATCH] Fix showing zero values --- app/src/frontend/building-view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/frontend/building-view.js b/app/src/frontend/building-view.js index 9c1bec86..d5b992e5 100644 --- a/app/src/frontend/building-view.js +++ b/app/src/frontend/building-view.js @@ -97,7 +97,7 @@ const DataEntry = (props) => ( { props.title } { props.tooltip? : null } -
{props.value ? props.value : '\u00A0'}
+
{(props.value != null)? props.value : '\u00A0'}
);