Fix showing zero values

This commit is contained in:
Tom Russell 2018-10-25 13:49:24 +01:00
parent 4c41b1fdba
commit 6f326c70fd

View File

@ -97,7 +97,7 @@ const DataEntry = (props) => (
{ props.title }
{ props.tooltip? <Tooltip text={ props.tooltip } /> : null }
</dt>
<dd>{props.value ? props.value : '\u00A0'}</dd>
<dd>{(props.value != null)? props.value : '\u00A0'}</dd>
</Fragment>
);