Convert the SLA metric display to percentage
diff --git a/mock/metric.js b/mock/metric.js
index 203d525..ada83b2 100644
--- a/mock/metric.js
+++ b/mock/metric.js
@@ -34,7 +34,7 @@
{
'values|60': [{
'id|+1': 1,
- value: '@natural(0, 100)',
+ value: '@natural(100, 10000)',
}],
}
)),
diff --git a/src/components/ApplicationLitePanel/index.js b/src/components/ApplicationLitePanel/index.js
index a834c1b..c237670 100644
--- a/src/components/ApplicationLitePanel/index.js
+++ b/src/components/ApplicationLitePanel/index.js
@@ -28,7 +28,7 @@
<div>
{appInfo.isAlarm ? <Avatar style={{ backgroundColor: '#F04864', marginBottom: 10 }} icon="bell" /> : null}
<DescriptionList col={1} layout="vertical">
- <Description term="SLA">{appInfo.sla}%</Description>
+ <Description term="SLA">{appInfo.sla / 100}%</Description>
<Description term="Calls Per Minute">{appInfo.cpm}</Description>
<Description term="Avg Response Time">{appInfo.avgResponseTime} ms</Description>
</DescriptionList>