Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f28bac1 commit 4e9e480Copy full SHA for 4e9e480
site/src/pages/TemplatePage/TemplateInsightsPage/TemplateInsightsPage.tsx
@@ -133,7 +133,7 @@ const UserLatencyPanel = ({
133
{users && users.length === 0 && <NoDataAvailable />}
134
{users &&
135
users
136
- .sort((a, b) => b.latency_ms.p95 - a.latency_ms.p95)
+ .sort((a, b) => b.latency_ms.p50 - a.latency_ms.p50)
137
.map((row) => (
138
<Box
139
key={row.user_id}
@@ -153,13 +153,13 @@ const UserLatencyPanel = ({
153
</Box>
154
155
sx={{
156
- color: getLatencyColor(theme, row.latency_ms.p95),
+ color: getLatencyColor(theme, row.latency_ms.p50),
157
fontWeight: 500,
158
fontSize: 13,
159
textAlign: "right",
160
}}
161
>
162
- {row.latency_ms.p95.toFixed(0)}ms
+ {row.latency_ms.p50.toFixed(0)}ms
163
164
165
))}
0 commit comments