Commit 609be700 authored by alain's avatar alain 🐙
Browse files

unit label fix

parent f08ac5f9
......@@ -29,7 +29,7 @@ const ChartTooltip = (props) => {
const value = dataStreams[s.key]
let text
text = Array.isArray(value) ? `${ roundBy(value[0], 1) }-${ roundBy(value[1], 1) } ${unit}` : `${roundBy(value, 1)} ${unit}`
text = Array.isArray(value) ? `${ roundBy(value[0], 1) }-${ roundBy(value[1], 1) }${unit}` : `${roundBy(value, 1)}${unit}`
if(!value) text = texts.nodata
subRows.push(<tr key={s.key}><td>{ texts.dataStreams[j] }:</td><td><strong>{ text }</strong></td></tr>)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment