fix(ui) - ResponseTime avg value as per the API change

This commit is contained in:
Shekar Siri 2022-07-05 10:34:48 +02:00
parent f918be7124
commit 0a6ae68c90

View file

@ -45,7 +45,7 @@ function ResponseTime(props: Props) {
onSelect={onSelect}
placeholder="Search for Page"
/> */}
<AvgLabel className="ml-auto" text="Avg" count={Math.round(metric.data.avg)} unit="ms" />
<AvgLabel className="ml-auto" text="Avg" count={Math.round(metric.data.value)} unit="ms" />
</div>
<ResponsiveContainer height={ 207 } width="100%">
<AreaChart